diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-05 13:41:48 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2023-05-09 08:57:34 +0200 |
commit | a687879e94fa5d3ecdd76bec3d94d0e1698ee913 (patch) | |
tree | b17ee096918dfd4624d50dbf0e91ff8f66bd4a7f /server/lib/job-queue/handlers/video-live-ending.ts | |
parent | e7d8e2b245491c0a8e008fb570037506d729ff04 (diff) | |
download | PeerTube-a687879e94fa5d3ecdd76bec3d94d0e1698ee913.tar.gz PeerTube-a687879e94fa5d3ecdd76bec3d94d0e1698ee913.tar.zst PeerTube-a687879e94fa5d3ecdd76bec3d94d0e1698ee913.zip |
Reload the video after waiting for the files lock
Diffstat (limited to 'server/lib/job-queue/handlers/video-live-ending.ts')
-rw-r--r-- | server/lib/job-queue/handlers/video-live-ending.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/lib/job-queue/handlers/video-live-ending.ts b/server/lib/job-queue/handlers/video-live-ending.ts index 1bf43f592..814f313a3 100644 --- a/server/lib/job-queue/handlers/video-live-ending.ts +++ b/server/lib/job-queue/handlers/video-live-ending.ts | |||
@@ -218,6 +218,7 @@ async function assignReplayFilesToVideo (options: { | |||
218 | 218 | ||
219 | for (const concatenatedTsFile of concatenatedTsFiles) { | 219 | for (const concatenatedTsFile of concatenatedTsFiles) { |
220 | const inputFileMutexReleaser = await VideoPathManager.Instance.lockFiles(video.uuid) | 220 | const inputFileMutexReleaser = await VideoPathManager.Instance.lockFiles(video.uuid) |
221 | await video.reload() | ||
221 | 222 | ||
222 | const concatenatedTsFilePath = join(replayDirectory, concatenatedTsFile) | 223 | const concatenatedTsFilePath = join(replayDirectory, concatenatedTsFile) |
223 | 224 | ||