1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Don't cancel finished jobs

This commit is contained in:
Chocobozzz 2024-03-19 08:37:50 +01:00
parent c727a34cb6
commit 0301d77254
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 6 additions and 3 deletions

View file

@ -523,7 +523,7 @@ class LiveManager {
}
private async handleBrokenLives () {
await RunnerJobModel.cancelAllJobs({ type: 'live-rtmp-hls-transcoding' })
await RunnerJobModel.cancelAllNonFinishedJobs({ type: 'live-rtmp-hls-transcoding' })
const videoUUIDs = await VideoModel.listPublishedLiveUUIDs()