diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-02 13:38:00 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2023-05-09 08:57:34 +0200 |
commit | 9a3db678f56eda37d222cf2d2232ae0ef5d533d2 (patch) | |
tree | 69dfaedcba0c7212efcfadcfc308761b2d4bab87 /server/lib/job-queue/handlers/video-studio-edition.ts | |
parent | 94bb740b49c9991c331b36f1ea29a283ffdba18d (diff) | |
download | PeerTube-9a3db678f56eda37d222cf2d2232ae0ef5d533d2.tar.gz PeerTube-9a3db678f56eda37d222cf2d2232ae0ef5d533d2.tar.zst PeerTube-9a3db678f56eda37d222cf2d2232ae0ef5d533d2.zip |
Fix import video file lock
Diffstat (limited to 'server/lib/job-queue/handlers/video-studio-edition.ts')
-rw-r--r-- | server/lib/job-queue/handlers/video-studio-edition.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/job-queue/handlers/video-studio-edition.ts b/server/lib/job-queue/handlers/video-studio-edition.ts index 991d11ef1..fbb55a388 100644 --- a/server/lib/job-queue/handlers/video-studio-edition.ts +++ b/server/lib/job-queue/handlers/video-studio-edition.ts | |||
@@ -95,7 +95,7 @@ async function processVideoStudioEdition (job: Job) { | |||
95 | 95 | ||
96 | const user = await UserModel.loadByVideoId(video.id) | 96 | const user = await UserModel.loadByVideoId(video.id) |
97 | 97 | ||
98 | await createOptimizeOrMergeAudioJobs({ video, videoFile: newFile, isNewVideo: false, user }) | 98 | await createOptimizeOrMergeAudioJobs({ video, videoFile: newFile, isNewVideo: false, user, videoFileAlreadyLocked: false }) |
99 | } | 99 | } |
100 | 100 | ||
101 | // --------------------------------------------------------------------------- | 101 | // --------------------------------------------------------------------------- |