aboutsummaryrefslogtreecommitdiffstats
path: root/lib/action_cable/connection
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2015-04-14 13:21:26 -0500
committerPratik Naik <pratiknaik@gmail.com>2015-04-14 13:21:26 -0500
commit155db8120811b89624fb7e657818eb32ed07301a (patch)
treeae2d81e1650d4b3f25e1d488a03f30241e2b0e58 /lib/action_cable/connection
parent5743cf30ff7714c7aa83133b350af22840473733 (diff)
downloadrails-155db8120811b89624fb7e657818eb32ed07301a.tar.gz
rails-155db8120811b89624fb7e657818eb32ed07301a.tar.bz2
rails-155db8120811b89624fb7e657818eb32ed07301a.zip
Revert "Remove all the existing connections on redis reconnect"
This reverts commit 4ac6cfefbb84a6b6ae095c20e990e5807caa9105.
Diffstat (limited to 'lib/action_cable/connection')
-rw-r--r--lib/action_cable/connection/base.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/action_cable/connection/base.rb b/lib/action_cable/connection/base.rb
index 93db5b3dba..e8126f3d75 100644
--- a/lib/action_cable/connection/base.rb
+++ b/lib/action_cable/connection/base.rb
@@ -100,10 +100,6 @@ module ActionCable
end
def handle_exception
- close_connection
- end
-
- def close_connection
logger.error "Closing connection"
@websocket.close