Skip to content

Commit ce8ea41

Browse files
committed
Lower the max number of WebRTC peers in an announce to 5
1 parent 9801a63 commit ce8ea41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client/websocket-tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class WebSocketTracker extends Tracker {
5656
this._send(params)
5757
} else {
5858
// Limit the number of offers that are generated, since it can be slow
59-
const numwant = Math.min(opts.numwant, 10)
59+
const numwant = Math.min(opts.numwant, 5)
6060

6161
this._generateOffers(numwant, offers => {
6262
params.numwant = numwant

0 commit comments

Comments
 (0)