mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-01 20:36:51 +03:00
don't publish record online when the record process has exited
This commit is contained in:
@@ -499,7 +499,8 @@ class CameraWatchdog(threading.Thread):
|
|||||||
|
|
||||||
continue
|
continue
|
||||||
elif not stale:
|
elif not stale:
|
||||||
self._send_record_status("online", now)
|
if poll is None:
|
||||||
|
self._send_record_status("online", now)
|
||||||
p["latest_segment_time"] = self.latest_cache_segment_time
|
p["latest_segment_time"] = self.latest_cache_segment_time
|
||||||
|
|
||||||
if poll is None:
|
if poll is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user