Skip to content

Commit d705be7

Browse files
committed
generate 5 offers in the browser, not 50
1 parent 6c1ce82 commit d705be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var extend = require('xtend/mutable')
66

77
exports.DEFAULT_ANNOUNCE_INTERVAL = 30 * 60 * 1000 // 30 minutes
88

9-
exports.DEFAULT_ANNOUNCE_PEERS = 50
9+
exports.DEFAULT_ANNOUNCE_PEERS = process.browser ? 5 : 50
1010
exports.MAX_ANNOUNCE_PEERS = 82
1111

1212
exports.binaryToHex = function (str) {

0 commit comments

Comments
 (0)