mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-01-18 12:11:36 +00:00
increase reconnect variance and maximum
This commit is contained in:
parent
587b6e6395
commit
51db46f4b2
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user