aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-02-09 11:40:47 +0100
committerChocobozzz <me@florianbigard.com>2022-02-09 11:54:18 +0100
commit7630e1c893f9848dce9d94135ce9b9a21ab80788 (patch)
treec5d171141b471d545c5da3b7ad27c4312dfd9b8d /server/initializers/constants.ts
parent474542d7ac60f7860daf9ea34d1c31968f43ab29 (diff)
downloadPeerTube-7630e1c893f9848dce9d94135ce9b9a21ab80788.tar.gz
PeerTube-7630e1c893f9848dce9d94135ce9b9a21ab80788.tar.zst
PeerTube-7630e1c893f9848dce9d94135ce9b9a21ab80788.zip
Fix import timeout inconsistency
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 6a59bf805..f66e6b65d 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -215,7 +215,7 @@ const REQUEST_TIMEOUTS = {
215} 215}
216 216
217const JOB_COMPLETED_LIFETIME = 60000 * 60 * 24 * 2 // 2 days 217const JOB_COMPLETED_LIFETIME = 60000 * 60 * 24 * 2 // 2 days
218const VIDEO_IMPORT_TIMEOUT = 1000 * 3600 // 1 hour 218const VIDEO_IMPORT_TIMEOUT = Math.floor(JOB_TTL['video-import'] * 0.9)
219 219
220const SCHEDULER_INTERVALS_MS = { 220const SCHEDULER_INTERVALS_MS = {
221 ACTOR_FOLLOW_SCORES: 60000 * 60, // 1 hour 221 ACTOR_FOLLOW_SCORES: 60000 * 60, // 1 hour