aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-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 46455dd5b..85944fa3a 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -257,7 +257,8 @@ const JOB_REMOVAL_OPTIONS = {
257const VIDEO_IMPORT_TIMEOUT = Math.floor(JOB_TTL['video-import'] * 0.9) 257const VIDEO_IMPORT_TIMEOUT = Math.floor(JOB_TTL['video-import'] * 0.9)
258 258
259const RUNNER_JOBS = { 259const RUNNER_JOBS = {
260 MAX_FAILURES: 5 260 MAX_FAILURES: 5,
261 LAST_CONTACT_UPDATE_INTERVAL: 30000
261} 262}
262 263
263// --------------------------------------------------------------------------- 264// ---------------------------------------------------------------------------
@@ -1034,6 +1035,8 @@ if (process.env.PRODUCTION_CONSTANTS !== 'true') {
1034 VIDEO_LIVE.SEGMENT_TIME_SECONDS.DEFAULT_LATENCY = 2 1035 VIDEO_LIVE.SEGMENT_TIME_SECONDS.DEFAULT_LATENCY = 2
1035 VIDEO_LIVE.SEGMENT_TIME_SECONDS.SMALL_LATENCY = 1 1036 VIDEO_LIVE.SEGMENT_TIME_SECONDS.SMALL_LATENCY = 1
1036 VIDEO_LIVE.EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION = 1 1037 VIDEO_LIVE.EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION = 1
1038
1039 RUNNER_JOBS.LAST_CONTACT_UPDATE_INTERVAL = 2000
1037 } 1040 }
1038} 1041}
1039 1042