aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/action_cable/channel/redis.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/action_cable/channel/redis.rb b/lib/action_cable/channel/redis.rb
index fc25f1dd4c..d47e503c51 100644
--- a/lib/action_cable/channel/redis.rb
+++ b/lib/action_cable/channel/redis.rb
@@ -21,7 +21,10 @@ module ActionCable
protected
def unsubscribe_from_redis_channels
if @_redis_channels
- @_redis_channels.each { |channel, callback| pubsub.unsubscribe_proc(channel, callback) }
+ @_redis_channels.each do |channel, callback|
+ logger.info "[ActionCable] Unsubscribing from the redis channel: #{channel}"
+ pubsub.unsubscribe_proc(channel, callback)
+ end
end
end
end