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.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index f59d3ef7a..ac19231d0 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -18,7 +18,7 @@ let config: IConfig = require('config')
18 18
19// --------------------------------------------------------------------------- 19// ---------------------------------------------------------------------------
20 20
21const LAST_MIGRATION_VERSION = 350 21const LAST_MIGRATION_VERSION = 355
22 22
23// --------------------------------------------------------------------------- 23// ---------------------------------------------------------------------------
24 24
@@ -726,6 +726,8 @@ const TRACKER_RATE_LIMITS = {
726 ANNOUNCES_PER_IP: 30 // maximum announces for all our torrents in the interval 726 ANNOUNCES_PER_IP: 30 // maximum announces for all our torrents in the interval
727} 727}
728 728
729const P2P_MEDIA_LOADER_PEER_VERSION = 2
730
729// --------------------------------------------------------------------------- 731// ---------------------------------------------------------------------------
730 732
731// Special constants for a test instance 733// Special constants for a test instance
@@ -772,6 +774,7 @@ updateWebserverUrls()
772export { 774export {
773 API_VERSION, 775 API_VERSION,
774 HLS_REDUNDANCY_DIRECTORY, 776 HLS_REDUNDANCY_DIRECTORY,
777 P2P_MEDIA_LOADER_PEER_VERSION,
775 AVATARS_SIZE, 778 AVATARS_SIZE,
776 ACCEPT_HEADERS, 779 ACCEPT_HEADERS,
777 BCRYPT_SALT_SIZE, 780 BCRYPT_SALT_SIZE,