diff options
author | Chocobozzz <me@florianbigard.com> | 2023-07-28 16:22:27 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-07-28 16:22:27 +0200 |
commit | ce8d0b5aaeb968d774ab2390461eec687d4730f4 (patch) | |
tree | 45fb92571c42481c3a5dd76da9261eaf1e3fcebf /server/lib/job-queue | |
parent | b203a25e1f6c4b9b3f4495349f42c2ef51e60523 (diff) | |
download | PeerTube-ce8d0b5aaeb968d774ab2390461eec687d4730f4.tar.gz PeerTube-ce8d0b5aaeb968d774ab2390461eec687d4730f4.tar.zst PeerTube-ce8d0b5aaeb968d774ab2390461eec687d4730f4.zip |
Remove deprecated scheduler
Diffstat (limited to 'server/lib/job-queue')
-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 |