aboutsummaryrefslogtreecommitdiffstats
path: root/lib/assets/javascripts/cable.js.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'lib/assets/javascripts/cable.js.coffee')
-rw-r--r--lib/assets/javascripts/cable.js.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/assets/javascripts/cable.js.coffee b/lib/assets/javascripts/cable.js.coffee
index fff64cd284..4909609f52 100644
--- a/lib/assets/javascripts/cable.js.coffee
+++ b/lib/assets/javascripts/cable.js.coffee
@@ -80,7 +80,7 @@ class @Cable
@waitForPingTimeout = setTimeout =>
console.log "Ping took too long to arrive. Reconnecting.."
- @connection?.close()
+ @reconnect()
, @PING_STALE_INTERVAL * 1000
clearPingWaitTimeout: =>