mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-01-19 04:31:36 +00:00
Double default for webrtc trackers (now Chrome 51 is released) #152
This commit is contained in:
parent
bbb8edcaa5
commit
fa0b3e4535
@ -61,7 +61,7 @@ WebSocketTracker.prototype.announce = function (opts) {
|
|||||||
self._send(params)
|
self._send(params)
|
||||||
} else {
|
} else {
|
||||||
// Limit the number of offers that are generated, since it can be slow
|
// 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) {
|
self._generateOffers(numwant, function (offers) {
|
||||||
params.numwant = numwant
|
params.numwant = numwant
|
||||||
|
Loading…
Reference in New Issue
Block a user