mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 03:35:26 +03:00
Use iterator
This commit is contained in:
parent
337f07508e
commit
978d0f07ff
@ -128,6 +128,7 @@ class RecordingCleanup(threading.Thread):
|
||||
)
|
||||
.order_by(Previews.start_time)
|
||||
.namedtuples()
|
||||
.iterator()
|
||||
)
|
||||
|
||||
# expire previews
|
||||
|
||||
Loading…
Reference in New Issue
Block a user