diff options
Diffstat (limited to 'lib/action_cable/channel/redis.rb')
-rw-r--r-- | lib/action_cable/channel/redis.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/action_cable/channel/redis.rb b/lib/action_cable/channel/redis.rb index bdd6ab9dcf..0f77dc0418 100644 --- a/lib/action_cable/channel/redis.rb +++ b/lib/action_cable/channel/redis.rb @@ -14,14 +14,14 @@ module ActionCable @_redis_channels << [ redis_channel, callback ] pubsub.subscribe(redis_channel, &callback) - logger.info "#{channel_name} subscribed to incoming actions from #{redis_channel}" + logger.info "#{channel_name} subscribed to broadcasts from #{redis_channel}" end def unsubscribe_from_all_channels if @_redis_channels @_redis_channels.each do |redis_channel, callback| pubsub.unsubscribe_proc(redis_channel, callback) - logger.info "#{channel_name} unsubscribed from incoming actions #{redis_channel}" + logger.info "#{channel_name} unsubscribed to broadcasts from #{redis_channel}" end end end @@ -29,7 +29,7 @@ module ActionCable protected def default_subscription_callback(channel) -> (message) do - transmit ActiveSupport::JSON.decode(message), via: "incoming action from #{channel}" + transmit ActiveSupport::JSON.decode(message), via: "broadcast from #{channel}" end end end |