Skip to content

Commit

Permalink
fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
mgineer85 committed Nov 14, 2024
1 parent ab91f34 commit 1bf7bb7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wigglecam/services/backends/cameras/abstractbackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ def sync_tick(self, timestamp_ns: int):
try:
self._current_timestamp_reference_in_queue.put(timestamp_ns, block=True, timeout=0.5 / self._nominal_framerate)
except Full:
# this happens if the reference and camera are totally out of sync. It should recover from this state or maybe need to remove old timestamp and place new always?
print("queue full, could not place updated ref time, skip and continue...")
# this happens if the reference and camera are totally out of sync.
# It should recover from this state or maybe need to remove old timestamp and place new always?
logger.warning("queue full, could not place updated ref time, skip and continue...")

@abstractmethod
def start_stream(self):
Expand Down

0 comments on commit 1bf7bb7

Please sign in to comment.