diff --git a/lib/common.js b/lib/common.js index a6f191a..3b255e4 100644 --- a/lib/common.js +++ b/lib/common.js @@ -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) {