diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-17 16:42:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-17 16:43:05 +0200 |
commit | e901579b00fbcd8fc0f7b45fd841636329148a34 (patch) | |
tree | 9dcfb17e3004469c96904bfc7f2136eb4fbe637f /server/initializers | |
parent | f86ff3a02642263ac64db5d5fba4059db0092561 (diff) | |
download | PeerTube-e901579b00fbcd8fc0f7b45fd841636329148a34.tar.gz PeerTube-e901579b00fbcd8fc0f7b45fd841636329148a34.tar.zst PeerTube-e901579b00fbcd8fc0f7b45fd841636329148a34.zip |
Fix tests
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 5 |
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 = { | |||
257 | const VIDEO_IMPORT_TIMEOUT = Math.floor(JOB_TTL['video-import'] * 0.9) | 257 | const VIDEO_IMPORT_TIMEOUT = Math.floor(JOB_TTL['video-import'] * 0.9) |
258 | 258 | ||
259 | const RUNNER_JOBS = { | 259 | const 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 | ||