Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/torrent.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/torrent.js b/lib/torrent.js
index 7c49e6e..51c0552 100644
--- a/lib/torrent.js
+++ b/lib/torrent.js
@@ -1643,9 +1643,9 @@ class Torrent extends EventEmitter {
const maxOutstandingRequests = isWebSeed
? Math.min(
- getPiecePipelineLength(wire, PIPELINE_MAX_DURATION, self.pieceLength),
- self.maxWebConns
- )
+ getPiecePipelineLength(wire, PIPELINE_MAX_DURATION, self.pieceLength),
+ self.maxWebConns
+ )
: getBlockPipelineLength(wire, PIPELINE_MAX_DURATION)
if (numRequests >= maxOutstandingRequests) return false