diff options
author | Matthew Draper <matthew@trebex.net> | 2016-01-23 03:33:14 +1030 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2016-01-23 03:33:14 +1030 |
commit | cf1cf0287a3df7ccdccbd9385eb11da6bf4bd56f (patch) | |
tree | 942736ef21bf104a65c2771f49d17995ad21e06e /actioncable | |
parent | 84461db61e8e50a1c7af0b3c5f8586d8ff001e80 (diff) | |
parent | 2bc0c7ca023e5ea90312139066268fed16ff17c5 (diff) | |
download | rails-cf1cf0287a3df7ccdccbd9385eb11da6bf4bd56f.tar.gz rails-cf1cf0287a3df7ccdccbd9385eb11da6bf4bd56f.tar.bz2 rails-cf1cf0287a3df7ccdccbd9385eb11da6bf4bd56f.zip |
Merge pull request #23194 from britg/patch-2
Use the correct reference to the redis connection
Diffstat (limited to 'actioncable')
-rw-r--r-- | actioncable/lib/action_cable/subscription_adapter/redis.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/subscription_adapter/redis.rb b/actioncable/lib/action_cable/subscription_adapter/redis.rb index d149f28b1f..e42ab2a03f 100644 --- a/actioncable/lib/action_cable/subscription_adapter/redis.rb +++ b/actioncable/lib/action_cable/subscription_adapter/redis.rb @@ -17,7 +17,7 @@ module ActionCable end def unsubscribe(channel, message_callback) - hi_redis_conn.pubsub.unsubscribe_proc(channel, message_callback) + redis_connection_for_subscriptions.pubsub.unsubscribe_proc(channel, message_callback) end private |