Remove debug cleanup change (#15468)

This commit is contained in:
Nicolas Mowen 2024-12-12 08:46:06 -06:00 committed by GitHub
parent b4d82084a9
commit ed2e1f3f72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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