generate 5 offers in the browser, not 50

This commit is contained in:
Feross Aboukhadijeh 2015-04-30 21:00:14 -07:00
parent 6c1ce82439
commit d705be775e

View File

@ -6,7 +6,7 @@ var extend = require('xtend/mutable')
exports.DEFAULT_ANNOUNCE_INTERVAL = 30 * 60 * 1000 // 30 minutes
exports.DEFAULT_ANNOUNCE_PEERS = 50
exports.DEFAULT_ANNOUNCE_PEERS = process.browser ? 5 : 50
exports.MAX_ANNOUNCE_PEERS = 82
exports.binaryToHex = function (str) {