Skip to content

Commit

Permalink
Remove debug cleanup change (#15468)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 authored Dec 12, 2024
1 parent b4d8208 commit ed2e1f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frigate/events/cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,8 @@ def expire_clips(self) -> list[str]:

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
Expand Down

0 comments on commit ed2e1f3

Please sign in to comment.