diff --git a/lib/torrent.js b/lib/torrent.js index 46f31063..206cd4c3 100644 --- a/lib/torrent.js +++ b/lib/torrent.js @@ -1127,6 +1127,7 @@ Torrent.prototype._request = function (wire, index, hotswap) { if (self.bitfield.get(index)) return false var maxOutstandingRequests = getPipelineLength(wire, PIPELINE_MAX_DURATION) + if (isWebSeed && maxOutstandingRequests > 2) maxOutstandingRequests -= 2 // A webseed will handle it's real max requests if (numRequests >= maxOutstandingRequests) return false // var endGame = (wire.requests.length === 0 && self.store.numMissing < 30)