diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-06 14:33:31 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | 9e2b2e76ba5f7f570dcf59fc03bfec98ea5ffab8 (patch) | |
tree | 62717add69330345db3d7432e7218bb24d54a702 /server/lib/job-queue/handlers | |
parent | 3cabf3532b9118a19311f14ca3e171d12d554a2f (diff) | |
download | PeerTube-9e2b2e76ba5f7f570dcf59fc03bfec98ea5ffab8.tar.gz PeerTube-9e2b2e76ba5f7f570dcf59fc03bfec98ea5ffab8.tar.zst PeerTube-9e2b2e76ba5f7f570dcf59fc03bfec98ea5ffab8.zip |
Don't add live videos in redundancy
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 3d9341738..55c7a4ccb 100644 --- a/server/lib/job-queue/handlers/video-live-ending.ts +++ b/server/lib/job-queue/handlers/video-live-ending.ts | |||
@@ -123,7 +123,7 @@ async function saveLive (video: MVideo, live: MVideoLive) { | |||
123 | } | 123 | } |
124 | 124 | ||
125 | async function cleanupLive (video: MVideo, streamingPlaylist: MStreamingPlaylist) { | 125 | async function cleanupLive (video: MVideo, streamingPlaylist: MStreamingPlaylist) { |
126 | const hlsDirectory = getHLSDirectory(video, false) | 126 | const hlsDirectory = getHLSDirectory(video) |
127 | 127 | ||
128 | await remove(hlsDirectory) | 128 | await remove(hlsDirectory) |
129 | 129 | ||