mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix RemoteConnection due to refactoring breakage
This commit is contained in:
parent
b9fcaa7cbc
commit
a66c56210c
1 changed files with 2 additions and 3 deletions
|
@ -2,7 +2,7 @@ module ActionCable
|
|||
class RemoteConnection
|
||||
class InvalidIdentifiersError < StandardError; end
|
||||
|
||||
include Connection::Identifier
|
||||
include Connection::Identification, Connection::InternalChannel
|
||||
|
||||
def initialize(server, ids)
|
||||
@server = server
|
||||
|
@ -10,8 +10,7 @@ module ActionCable
|
|||
end
|
||||
|
||||
def disconnect
|
||||
message = { type: 'disconnect' }.to_json
|
||||
redis.publish(internal_redis_channel, message)
|
||||
redis.publish internal_redis_channel, { type: 'disconnect' }.to_json
|
||||
end
|
||||
|
||||
def identifiers
|
||||
|
|
Loading…
Reference in a new issue