Skip to content

Commit

Permalink
live/runner: Increase liveportrait restart threshold (#294)
Browse files Browse the repository at this point in the history
It's not giving enough time for the pipeline to load and gets
to an infinite loop.
  • Loading branch information
victorges authored Nov 28, 2024
1 parent b872da9 commit 3db4c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/app/live/streamer/streamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async def monitor_loop(self, done: Event):

active_after_reload = time_since_last_output < (time_since_reload - 1)
stopped_recently = (
time_since_last_output > 5
time_since_last_output > 8
if self.pipeline == "liveportrait" # liveportrait loads very quick but gets stuck too often
else active_after_reload and time_since_last_output > 5 and time_since_last_output < 60
)
Expand Down

0 comments on commit 3db4c41

Please sign in to comment.