From aa2e045b1a42da77f43e14c7fecbfcda66d8430a Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Thu, 27 Feb 2014 10:36:07 -0800 Subject: [PATCH] WebSockets: increase maximum retries to 9. This increases the total time it'll try to reconnect up to 34 minutes from 17. Experience with a couple of issues with stunnel have shown it takes a few minutes for everything to settle back down and we do want everyone to get reconnected eventually without having to refresh. --- r2/r2/public/static/js/websocket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/public/static/js/websocket.js b/r2/r2/public/static/js/websocket.js index 5d039c7c0..79428a82f 100644 --- a/r2/r2/public/static/js/websocket.js +++ b/r2/r2/public/static/js/websocket.js @@ -9,7 +9,7 @@ r.WebSocket = function (url) { } _.extend(r.WebSocket.prototype, Backbone.Events, { _backoffTime: 2000, - _maximumRetries: 8, + _maximumRetries: 9, _connect: function () { r.debug('websocket: connecting')