Skip to content

Commit

Permalink
revise log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeblackshear committed Feb 20, 2021
1 parent eed8463 commit 26a3491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frigate/watchdog.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def run(self):
detection_start = detector.detection_start.value
if (detection_start > 0.0 and
now - detection_start > 10):
logger.info("Detection appears to be stuck. Restarting detection process")
logger.info("Detection appears to be stuck. Restarting detection process...")
detector.start_or_restart()
elif not detector.detect_process.is_alive():
logger.info("Detection appears to have stopped. Restarting frigate")
logger.info("Detection appears to have stopped. Exiting frigate...")
os.kill(os.getpid(), signal.SIGTERM)

0 comments on commit 26a3491

Please sign in to comment.