Skip to content
Snippets Groups Projects
Commit faef59f2 authored by Julian Rother's avatar Julian Rother
Browse files

Small fix

parent 95f0573f
Branches
Tags
No related merge requests found
......@@ -230,7 +230,8 @@ def schedule_livestream(lecture_id):
def restart_failed_complex_live_transcode(id, type, data, state, status):
restart_job(id)
@job_handler('complex_live_transcode')
@job_handler('complex_live_transcode', state='failed')
@job_handler('complex_live_transcode', state='finished')
def cleanup_after_complex_live_transcode_ended(id, type, data, state, status):
job = query('SELECT * FROM jobs WHERE id = ?', id, nlfix=False)[0]
if state == 'finished' or (state == 'failed' and job['canceled']):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment