]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Reduce P2P blacklist in tracker
authorChocobozzz <me@florianbigard.com>
Thu, 5 Nov 2020 09:28:05 +0000 (10:28 +0100)
committerChocobozzz <chocobozzz@cpy.re>
Mon, 9 Nov 2020 14:33:04 +0000 (15:33 +0100)
server/initializers/constants.ts

index d1f94e6e6bea57435caccf1b428e21e979be1649..164de041e14dc531ffc6d73c2ab98e28a63d0ee2 100644 (file)
@@ -672,7 +672,7 @@ const TRACKER_RATE_LIMITS = {
   INTERVAL: 60000 * 5, // 5 minutes
   ANNOUNCES_PER_IP_PER_INFOHASH: 15, // maximum announces per torrent in the interval
   ANNOUNCES_PER_IP: 30, // maximum announces for all our torrents in the interval
-  BLOCK_IP_LIFETIME: 60000 * 10 // 10 minutes
+  BLOCK_IP_LIFETIME: 60000 * 3 // 3 minutes
 }
 
 const P2P_MEDIA_LOADER_PEER_VERSION = 2