Skip to content

Commit be4314e

Browse files
committed
update time to cleanup sooner
1 parent bae8437 commit be4314e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client/udp-tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ UDPTracker.prototype._request = function (opts) {
8282
self.cleanupFns.push(cleanup)
8383

8484
// does not matter if `stopped` event arrives, so supress errors & cleanup after timeout
85-
var ms = opts.event === 'stopped' ? TIMEOUT / 10 : TIMEOUT
85+
var ms = opts.event === 'stopped' ? TIMEOUT / 20 : TIMEOUT
8686
var timeout = setTimeout(function () {
8787
timeout = null
8888
if (opts.event === 'stopped') cleanup()

0 commit comments

Comments
 (0)