mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-13 19:06:27 +00:00
generate 5 offers in the browser, not 50
This commit is contained in:
parent
6c1ce82439
commit
d705be775e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user