mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 19:25:22 +03:00
Don't count in progress events as duplicates
This commit is contained in:
parent
7c629c1874
commit
f8532f515c
@ -170,6 +170,7 @@ class EventCleanup(threading.Thread):
|
|||||||
has_clip,
|
has_clip,
|
||||||
row_number() over (
|
row_number() over (
|
||||||
partition by label, camera, round(start_time/5,0)*5
|
partition by label, camera, round(start_time/5,0)*5
|
||||||
|
where end_time is not null
|
||||||
order by end_time-start_time desc
|
order by end_time-start_time desc
|
||||||
) as copy_number
|
) as copy_number
|
||||||
from event
|
from event
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user