mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-28 16:27:07 +03:00
docstring
This commit is contained in:
@@ -313,6 +313,7 @@ class EventCleanup(threading.Thread):
|
|||||||
self.removed_camera_labels = None
|
self.removed_camera_labels = None
|
||||||
|
|
||||||
def expire_events(self) -> None:
|
def expire_events(self) -> None:
|
||||||
|
"""Run one cleanup cycle: expire clips and snapshots, then drop dead events."""
|
||||||
self.refresh_camera_keys()
|
self.refresh_camera_keys()
|
||||||
events_with_expired_clips = self.expire_clips()
|
events_with_expired_clips = self.expire_clips()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user