aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-03-03 10:10:55 +0100
committerChocobozzz <me@florianbigard.com>2021-03-03 10:10:55 +0100
commitdcd75f786c42b4cc2049b17d535b3de3b7702fbc (patch)
treed2bb3339bf6e22b7585cd0a696c209c534d0cb2b /server/initializers
parent67bd004d843d29576f24c21437a33e1334ccb765 (diff)
downloadPeerTube-dcd75f786c42b4cc2049b17d535b3de3b7702fbc.tar.gz
PeerTube-dcd75f786c42b4cc2049b17d535b3de3b7702fbc.tar.zst
PeerTube-dcd75f786c42b4cc2049b17d535b3de3b7702fbc.zip
Rename request timeout
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index efbc628e7..6aaef3aa2 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -197,7 +197,7 @@ const JOB_PRIORITY = {
197const BROADCAST_CONCURRENCY = 30 // How many requests in parallel we do in activitypub-http-broadcast job 197const BROADCAST_CONCURRENCY = 30 // How many requests in parallel we do in activitypub-http-broadcast job
198const AP_CLEANER_CONCURRENCY = 10 // How many requests in parallel we do in activitypub-cleaner job 198const AP_CLEANER_CONCURRENCY = 10 // How many requests in parallel we do in activitypub-cleaner job
199const CRAWL_REQUEST_CONCURRENCY = 1 // How many requests in parallel to fetch remote data (likes, shares...) 199const CRAWL_REQUEST_CONCURRENCY = 1 // How many requests in parallel to fetch remote data (likes, shares...)
200const JOB_REQUEST_TIMEOUT = 7000 // 7 seconds 200const REQUEST_TIMEOUT = 7000 // 7 seconds
201const JOB_COMPLETED_LIFETIME = 60000 * 60 * 24 * 2 // 2 days 201const JOB_COMPLETED_LIFETIME = 60000 * 60 * 24 * 2 // 2 days
202const VIDEO_IMPORT_TIMEOUT = 1000 * 3600 // 1 hour 202const VIDEO_IMPORT_TIMEOUT = 1000 * 3600 // 1 hour
203 203
@@ -869,7 +869,7 @@ export {
869 ABUSE_STATES, 869 ABUSE_STATES,
870 VIDEO_CHANNELS, 870 VIDEO_CHANNELS,
871 LRU_CACHE, 871 LRU_CACHE,
872 JOB_REQUEST_TIMEOUT, 872 REQUEST_TIMEOUT,
873 USER_PASSWORD_RESET_LIFETIME, 873 USER_PASSWORD_RESET_LIFETIME,
874 USER_PASSWORD_CREATE_LIFETIME, 874 USER_PASSWORD_CREATE_LIFETIME,
875 MEMOIZE_TTL, 875 MEMOIZE_TTL,