aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index dd79c0e16..9a262fd4b 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -633,7 +633,8 @@ const AUDIT_LOG_FILENAME = 'peertube-audit.log'
633const TRACKER_RATE_LIMITS = { 633const TRACKER_RATE_LIMITS = {
634 INTERVAL: 60000 * 5, // 5 minutes 634 INTERVAL: 60000 * 5, // 5 minutes
635 ANNOUNCES_PER_IP_PER_INFOHASH: 15, // maximum announces per torrent in the interval 635 ANNOUNCES_PER_IP_PER_INFOHASH: 15, // maximum announces per torrent in the interval
636 ANNOUNCES_PER_IP: 30 // maximum announces for all our torrents in the interval 636 ANNOUNCES_PER_IP: 30, // maximum announces for all our torrents in the interval
637 BLOCK_IP_LIFETIME: 60000 * 10 // 10 minutes
637} 638}
638 639
639const P2P_MEDIA_LOADER_PEER_VERSION = 2 640const P2P_MEDIA_LOADER_PEER_VERSION = 2