mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-14 19:36:24 +00:00
default numwant to 50 since that's the server default
This commit is contained in:
parent
8b9dfb55b8
commit
cdc2c5dea9
@ -45,7 +45,7 @@ function Client (peerId, port, torrent, opts) {
|
|||||||
self.torrentLength = torrent.length
|
self.torrentLength = torrent.length
|
||||||
|
|
||||||
// optional
|
// optional
|
||||||
self._numWant = self._opts.numWant || 80
|
self._numWant = self._opts.numWant || 50
|
||||||
self._intervalMs = self._opts.interval || (30 * 60 * 1000) // default: 30 minutes
|
self._intervalMs = self._opts.interval || (30 * 60 * 1000) // default: 30 minutes
|
||||||
|
|
||||||
debug('new tracker client for ' + self._infoHash.toString('hex'))
|
debug('new tracker client for ' + self._infoHash.toString('hex'))
|
||||||
|
Loading…
Reference in New Issue
Block a user