diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2016-04-06 10:37:05 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2016-04-06 10:37:05 +0300 |
commit | 796e28ae66dec1d3ac7c21aaf85a76cbee1b3151 (patch) | |
tree | dc40159fc811e745886fab87ba55f15ff74c2028 /lib | |
parent | bb0a926d718728fe5466370374783437cc19c994 (diff) | |
parent | 7205c151a044d121f529cac653bcf52a0a222a7a (diff) |
Merge pull request #710 from feross/max-web-conns-default
Max web conns default
Diffstat (limited to 'lib')
-rw-r--r-- | lib/torrent.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/torrent.js b/lib/torrent.js index 01f08e0..0f99ee9 100644 --- a/lib/torrent.js +++ b/lib/torrent.js @@ -75,7 +75,7 @@ function Torrent (torrentId, client, opts) { this.strategy = opts.strategy || 'sequential' - this.maxWebConns = opts.maxWebConns + this.maxWebConns = opts.maxWebConns || 4 this._rechokeNumSlots = (opts.uploads === false || opts.uploads === 0) ? 0 |