mirror of
https://github.com/logos-storage/bittorrent-tracker.git
synced 2026-01-07 15:33:08 +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_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.MAX_ANNOUNCE_PEERS = 82
|
||||||
|
|
||||||
exports.binaryToHex = function (str) {
|
exports.binaryToHex = function (str) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user