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
path: root/lib
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2018-02-18 04:15:39 +0300
committerFeross Aboukhadijeh <feross@feross.org>2018-02-18 04:15:42 +0300
commitc29e02ce29245cba2b198a3b5da533d961118fb8 (patch)
tree32617d9a3794929f0bafbbcd3a6a1f0b4829805c /lib
parentb89afaa647dba9587c5cd49d11b964fc5dba811a (diff)
standard
Diffstat (limited to 'lib')
-rw-r--r--lib/torrent.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/torrent.js b/lib/torrent.js
index fb3656c..c0e8aaf 100644
--- a/lib/torrent.js
+++ b/lib/torrent.js
@@ -1472,9 +1472,9 @@ Torrent.prototype._request = function (wire, index, hotswap) {
var 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