diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-23 11:09:31 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-23 11:13:06 +0100 |
commit | dbd9fb44ddd880622265097bd7baf4dd71ea0861 (patch) | |
tree | b531f861026a52bcacfdee076431c1c34d9ba78d /server/initializers | |
parent | 482b26231b4e39234f107b8400ef606c5f003c55 (diff) | |
download | PeerTube-dbd9fb44ddd880622265097bd7baf4dd71ea0861.tar.gz PeerTube-dbd9fb44ddd880622265097bd7baf4dd71ea0861.tar.zst PeerTube-dbd9fb44ddd880622265097bd7baf4dd71ea0861.zip |
Don't stuck state when move transcoding job failed
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 57f7af789..7816561fd 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -427,7 +427,8 @@ const VIDEO_STATES: { [ id in VideoState ]: string } = { | |||
427 | [VideoState.WAITING_FOR_LIVE]: 'Waiting for livestream', | 427 | [VideoState.WAITING_FOR_LIVE]: 'Waiting for livestream', |
428 | [VideoState.LIVE_ENDED]: 'Livestream ended', | 428 | [VideoState.LIVE_ENDED]: 'Livestream ended', |
429 | [VideoState.TO_MOVE_TO_EXTERNAL_STORAGE]: 'To move to an external storage', | 429 | [VideoState.TO_MOVE_TO_EXTERNAL_STORAGE]: 'To move to an external storage', |
430 | [VideoState.TRANSCODING_FAILED]: 'Transcoding failed' | 430 | [VideoState.TRANSCODING_FAILED]: 'Transcoding failed', |
431 | [VideoState.TO_MOVE_TO_EXTERNAL_STORAGE_FAILED]: 'External storage move failed' | ||
431 | } | 432 | } |
432 | 433 | ||
433 | const VIDEO_IMPORT_STATES: { [ id in VideoImportState ]: string } = { | 434 | const VIDEO_IMPORT_STATES: { [ id in VideoImportState ]: string } = { |