increase reconnect variance and maximum

This commit is contained in:
Diego Rodríguez Baquero 2020-03-29 13:34:50 -05:00 committed by GitHub
parent 587b6e6395
commit 51db46f4b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,8 +12,8 @@ const Tracker = require('./tracker')
const socketPool = {} const socketPool = {}
const RECONNECT_MINIMUM = 10 * 1000 const RECONNECT_MINIMUM = 10 * 1000
const RECONNECT_MAXIMUM = 30 * 60 * 1000 const RECONNECT_MAXIMUM = 60 * 60 * 1000
const RECONNECT_VARIANCE = 2 * 60 * 1000 const RECONNECT_VARIANCE = 5 * 60 * 1000
const OFFER_TIMEOUT = 50 * 1000 const OFFER_TIMEOUT = 50 * 1000
class WebSocketTracker extends Tracker { class WebSocketTracker extends Tracker {