diff options
Diffstat (limited to 'server/lib/job-queue/handlers')
-rw-r--r-- | server/lib/job-queue/handlers/video-live-ending.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/job-queue/handlers/video-live-ending.ts b/server/lib/job-queue/handlers/video-live-ending.ts index 982280b55..070d1d7a2 100644 --- a/server/lib/job-queue/handlers/video-live-ending.ts +++ b/server/lib/job-queue/handlers/video-live-ending.ts | |||
@@ -189,7 +189,7 @@ async function replaceLiveByReplay (options: { | |||
189 | 189 | ||
190 | await assignReplayFilesToVideo({ video: videoWithFiles, replayDirectory }) | 190 | await assignReplayFilesToVideo({ video: videoWithFiles, replayDirectory }) |
191 | 191 | ||
192 | // FIXME: should not happen in this function | 192 | // Should not happen in this function, but we keep the code if in the future we can replace the permanent live by a replay |
193 | if (permanentLive) { // Remove session replay | 193 | if (permanentLive) { // Remove session replay |
194 | await remove(replayDirectory) | 194 | await remove(replayDirectory) |
195 | } else { // We won't stream again in this live, we can delete the base replay directory | 195 | } else { // We won't stream again in this live, we can delete the base replay directory |