Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FS-SC
AsapoWorker
Commits
dd9e5549
Commit
dd9e5549
authored
Aug 04, 2021
by
Mikhail Karnevskiy
Browse files
Merge branch 'feat/streamfinish_delay' into 'master'
Add delay in case if StreamFinish flag is obtained See merge request
!34
parents
c1863fff
28d0ca4e
Pipeline
#8921
passed with stage
in 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/AsapoWorker/streamer.py
View file @
dd9e5549
...
...
@@ -292,7 +292,7 @@ class Streamer:
log
.
info
(
"Start stream processing."
)
while
not
self
.
stopped
.
is_set
():
success
=
self
.
_process_stream
()
if
self
.
likely_done
and
not
success
:
if
(
self
.
likely_done
or
self
.
stream_finished
)
and
not
success
:
self
.
stopped
.
wait
(
self
.
delay_on_error
)
self
.
_increase_delay_on_error
()
else
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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