diff --git a/frigate/events/cleanup.py b/frigate/events/cleanup.py index d70a290d7..be35e2096 100644 --- a/frigate/events/cleanup.py +++ b/frigate/events/cleanup.py @@ -170,6 +170,7 @@ class EventCleanup(threading.Thread): has_clip, row_number() over ( partition by label, camera, round(start_time/5,0)*5 + where end_time is not null order by end_time-start_time desc ) as copy_number from event