Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Roman Karwacik
website
Commits
faef59f2
Commit
faef59f2
authored
Jul 28, 2018
by
Julian Rother
Browse files
Small fix
parent
95f0573f
Changes
1
Show whitespace changes
Inline
Side-by-side
livestreams.py
View file @
faef59f2
...
...
@@ -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'
]):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment