diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2021-10-25 17:42:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-25 17:42:20 +0200 |
commit | 276250f0a36e00373166d91d539e5220d6f158c7 (patch) | |
tree | 394e4fd65912edbbe9266ccfbacfc14f433371e7 /shared/models | |
parent | b2ad0090c182c7f2a8cba1cced3987d408a4b159 (diff) | |
download | PeerTube-276250f0a36e00373166d91d539e5220d6f158c7.tar.gz PeerTube-276250f0a36e00373166d91d539e5220d6f158c7.tar.zst PeerTube-276250f0a36e00373166d91d539e5220d6f158c7.zip |
prevent multiple post-process triggering of upload-resumable (#4175)
* prevent multiple post-process triggering of upload-resumable
* switch from 409 to 503 for upload being processed
* Improve resumable upload check
Co-authored-by: Chocobozzz <me@florianbigard.com>
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/server/job.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts index ff96283a4..12e0fcf85 100644 --- a/shared/models/server/job.model.ts +++ b/shared/models/server/job.model.ts | |||
@@ -138,6 +138,10 @@ export interface ActorKeysPayload { | |||
138 | actorId: number | 138 | actorId: number |
139 | } | 139 | } |
140 | 140 | ||
141 | export interface DeleteResumableUploadMetaFilePayload { | ||
142 | filepath: string | ||
143 | } | ||
144 | |||
141 | export interface MoveObjectStoragePayload { | 145 | export interface MoveObjectStoragePayload { |
142 | videoUUID: string | 146 | videoUUID: string |
143 | isNewVideo: boolean | 147 | isNewVideo: boolean |