diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-05 10:28:05 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | ba881f0e3f60218b28abbb59d23118db5f97d5f8 (patch) | |
tree | 8f8f84cb077f817e4129a8a1d1bc83a6327fc133 /server | |
parent | 99fa5c5badd4f4d35a1d55c80b0102ee1c4e71cd (diff) | |
download | PeerTube-ba881f0e3f60218b28abbb59d23118db5f97d5f8.tar.gz PeerTube-ba881f0e3f60218b28abbb59d23118db5f97d5f8.tar.zst PeerTube-ba881f0e3f60218b28abbb59d23118db5f97d5f8.zip |
Reduce P2P blacklist in tracker
Diffstat (limited to 'server')
-rw-r--r-- | server/initializers/constants.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index d1f94e6e6..164de041e 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -672,7 +672,7 @@ const TRACKER_RATE_LIMITS = { | |||
672 | INTERVAL: 60000 * 5, // 5 minutes | 672 | INTERVAL: 60000 * 5, // 5 minutes |
673 | ANNOUNCES_PER_IP_PER_INFOHASH: 15, // maximum announces per torrent in the interval | 673 | ANNOUNCES_PER_IP_PER_INFOHASH: 15, // maximum announces per torrent in the interval |
674 | ANNOUNCES_PER_IP: 30, // maximum announces for all our torrents in the interval | 674 | ANNOUNCES_PER_IP: 30, // maximum announces for all our torrents in the interval |
675 | BLOCK_IP_LIFETIME: 60000 * 10 // 10 minutes | 675 | BLOCK_IP_LIFETIME: 60000 * 3 // 3 minutes |
676 | } | 676 | } |
677 | 677 | ||
678 | const P2P_MEDIA_LOADER_PEER_VERSION = 2 | 678 | const P2P_MEDIA_LOADER_PEER_VERSION = 2 |