You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 23, 2019. It is now read-only.
* feat: allow dialer queues to do many requests to a peer
* fix: parallel dials and validate cancelled conns
* feat: make dial timeout configurable
* fix: allow already connected peers to dial immediately
* refactor: add dial timeout to consts file
* fix: keep better track of in progress queues
* refactor: make dials race
If defined, `options` should be an object with the following keys and respective values:
63
63
64
64
-`blacklistTTL`: - number of ms a peer should not be dialable to after it errors. Defaults to `120000`(120 seconds)
65
-
-`maxParallelDials` - number of concurrent dials the switch should allow. Defaults to `50`
65
+
-`maxParallelDials`: - number of concurrent dials the switch should allow. Defaults to `50`
66
+
-`dialTimeout`: - number of ms a dial to a peer should be allowed to run. Defaults to `30000` (30 seconds)
66
67
-`stats`: an object with the following keys and respective values:
67
68
-`maxOldPeersRetention`: maximum old peers retention. For when peers disconnect and keeping the stats around in case they reconnect. Defaults to `100`.
68
69
-`computeThrottleMaxQueueSize`: maximum queue size to perform stats computation throttling. Defaults to `1000`.
0 commit comments