mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
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.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user