Make sure count of frames in motion is reset during start
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Lauri Võsandi 2022-07-30 10:10:21 +03:00
parent 5fb3eb4541
commit 05b5bc30f2

View File

@ -114,6 +114,8 @@ gauge_build_info.labels(
gauge_queue_frames.labels("download").set(0) gauge_queue_frames.labels("download").set(0)
gauge_queue_frames.labels("hold").set(0) gauge_queue_frames.labels("hold").set(0)
gauge_queue_frames.labels("upload").set(0) gauge_queue_frames.labels("upload").set(0)
counter_frames.labels("motion").inc(0)
assert SLIDE_WINDOW <= 8 # This is 256 frames which should be enough assert SLIDE_WINDOW <= 8 # This is 256 frames which should be enough