Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit aa2e045b1a42da77f43e14c7fecbfcda66d8430a 1 parent c9ad15a
@spladug spladug authored
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')
Please sign in to comment.
Something went wrong with that request. Please try again.