mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-06-04 01:16:52 +02:00
Remove debug cleanup change (#15468)
This commit is contained in:
parent
b4d82084a9
commit
ed2e1f3f72
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user