mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-14 03:16:24 +00:00
Merge pull request #159 from yciabaud/numwant
Double default numwant for webrtc trackers (now Chrome 51 is released)
This commit is contained in:
commit
92a0710026
@ -61,7 +61,7 @@ WebSocketTracker.prototype.announce = function (opts) {
|
||||
self._send(params)
|
||||
} else {
|
||||
// Limit the number of offers that are generated, since it can be slow
|
||||
var numwant = Math.min(opts.numwant, 5)
|
||||
var numwant = Math.min(opts.numwant, 10)
|
||||
|
||||
self._generateOffers(numwant, function (offers) {
|
||||
params.numwant = numwant
|
||||
|
Loading…
Reference in New Issue
Block a user