mirror of
https://github.com/logos-storage/bittorrent-tracker.git
synced 2026-01-09 08:23:12 +00:00
Lower generated offer number to 5
Temporary mitigation for leak issue
This commit is contained in:
parent
c181020937
commit
51e2439333
@ -57,7 +57,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, 10)
|
||||
var numwant = Math.min(opts.numwant, 5)
|
||||
|
||||
self._generateOffers(numwant, function (offers) {
|
||||
params.numwant = numwant
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user