mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 04:57:42 +03:00
Immediately end review item for disabled cameras
This commit is contained in:
parent
e60df795ad
commit
20fed3e0c6
@ -492,6 +492,10 @@ class ReviewSegmentMaintainer(threading.Thread):
|
|||||||
camera_name
|
camera_name
|
||||||
].enabled = updated_enabled_config.enabled
|
].enabled = updated_enabled_config.enabled
|
||||||
|
|
||||||
|
# immediately end segment as we may not get another update
|
||||||
|
if not updated_enabled_config.enabled:
|
||||||
|
self.end_segment(camera_name)
|
||||||
|
|
||||||
(topic, data) = self.detection_subscriber.check_for_update(timeout=1)
|
(topic, data) = self.detection_subscriber.check_for_update(timeout=1)
|
||||||
|
|
||||||
if not topic:
|
if not topic:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user