Permalink
Browse files

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.
  • Loading branch information...
1 parent c9ad15a commit aa2e045b1a42da77f43e14c7fecbfcda66d8430a @spladug spladug committed Feb 27, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 r2/r2/public/static/js/websocket.js
View
2 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')

0 comments on commit aa2e045

Please sign in to comment.