Skip to content

NVR with realtime local object detection for IP cameras

Remove debug cleanup change (#15468)

Nicolas Mowened2e1f3f7231
diff --git a/frigate/events/cleanup.py b/frigate/events/cleanup.py
index 741f0884cd..713e336301 100644
--- a/frigate/events/cleanup.py
+++ b/frigate/events/cleanup.py
@@ -331,9 +331,8 @@ class EventCleanup(threading.Thread):
def run(self) -> None:
# only expire events every 5 minutes
- while not self.stop_event.wait(1):
+ while not self.stop_event.wait(300):
events_with_expired_clips = self.expire_clips()
- return
# delete timeline entries for events that have expired recordings
# delete up to 100,000 at a time