Skip to content

Commit 92a0710

Browse files
committed
Merge pull request webtorrent#159 from yciabaud/numwant
Double default numwant for webrtc trackers (now Chrome 51 is released)
2 parents bbb8edc + fa0b3e4 commit 92a0710

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
@@ -61,7 +61,7 @@ WebSocketTracker.prototype.announce = function (opts) {
6161
self._send(params)
6262
} else {
6363
// Limit the number of offers that are generated, since it can be slow
64-
var numwant = Math.min(opts.numwant, 5)
64+
var numwant = Math.min(opts.numwant, 10)
6565

6666
self._generateOffers(numwant, function (offers) {
6767
params.numwant = numwant

0 commit comments

Comments
 (0)