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

Restart complex live transcoder on failure

parent 7f880726
No related branches found
No related tags found
No related merge requests found
......@@ -207,6 +207,10 @@ def schedule_livestream(lecture_id):
job_id = schedule_job('complex_live_transcode', data, priority=10)
return job_id
@job_handler('complex_live_transcode', state='failed')
def restart_failed_complex_live_transcode(id, type, data, state, status):
restart_job(id)
@app.route('/internal/streaming/start', methods=['POST'])
@mod_required
def start_stream():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment