default numwant to 50 since that's the server default

This commit is contained in:
Feross Aboukhadijeh 2014-07-11 03:51:01 -07:00
parent 8b9dfb55b8
commit cdc2c5dea9

View File

@ -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'))