diff options
author | Diego RodrÃguez Baquero <diegorbaquero@gmail.com> | 2016-03-30 09:45:14 +0300 |
---|---|---|
committer | Diego RodrÃguez Baquero <diegorbaquero@gmail.com> | 2016-03-30 09:45:14 +0300 |
commit | 4b2ea306fd1d16fd36b44565971cb7c355fe9768 (patch) | |
tree | 4b61ef21d50c1239004d1740ac6202b7d71acbf3 /lib | |
parent | 6a7f4386aed9d142deef856eaa562fa718d40895 (diff) |
Max Web Connections Default to 4
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 2cc0800..2bff2e1 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 |