diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-19 10:10:41 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-19 10:10:41 +0200 |
commit | 472170b4f923a52cceb595221864eab61d624d5b (patch) | |
tree | d466b9e7b4f0eb54bffb30250f66b604bf907768 /server/initializers/constants.ts | |
parent | 26172955691acd6d7b682647dda6b2109e426c51 (diff) | |
download | PeerTube-472170b4f923a52cceb595221864eab61d624d5b.tar.gz PeerTube-472170b4f923a52cceb595221864eab61d624d5b.tar.zst PeerTube-472170b4f923a52cceb595221864eab61d624d5b.zip |
Avoid aborting completing jobs
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 85944fa3a..ba522c9de 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -577,6 +577,7 @@ const VIDEO_PLAYLIST_TYPES: { [ id in VideoPlaylistType ]: string } = { | |||
577 | const RUNNER_JOB_STATES: { [ id in RunnerJobState ]: string } = { | 577 | const RUNNER_JOB_STATES: { [ id in RunnerJobState ]: string } = { |
578 | [RunnerJobState.PROCESSING]: 'Processing', | 578 | [RunnerJobState.PROCESSING]: 'Processing', |
579 | [RunnerJobState.COMPLETED]: 'Completed', | 579 | [RunnerJobState.COMPLETED]: 'Completed', |
580 | [RunnerJobState.COMPLETING]: 'Completing', | ||
580 | [RunnerJobState.PENDING]: 'Pending', | 581 | [RunnerJobState.PENDING]: 'Pending', |
581 | [RunnerJobState.ERRORED]: 'Errored', | 582 | [RunnerJobState.ERRORED]: 'Errored', |
582 | [RunnerJobState.WAITING_FOR_PARENT_JOB]: 'Waiting for parent job to finish', | 583 | [RunnerJobState.WAITING_FOR_PARENT_JOB]: 'Waiting for parent job to finish', |