forked from Github/frigate
Remove debug cleanup change (#15468)
This commit is contained in:
@@ -331,9 +331,8 @@ class EventCleanup(threading.Thread):
|
|||||||
|
|
||||||
def run(self) -> None:
|
def run(self) -> None:
|
||||||
# only expire events every 5 minutes
|
# 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()
|
events_with_expired_clips = self.expire_clips()
|
||||||
return
|
|
||||||
|
|
||||||
# delete timeline entries for events that have expired recordings
|
# delete timeline entries for events that have expired recordings
|
||||||
# delete up to 100,000 at a time
|
# delete up to 100,000 at a time
|
||||||
|
|||||||
Reference in New Issue
Block a user