more consistent use of iterators in select queries (#8258)

This commit is contained in:
Blake Blackshear
2023-10-21 11:53:33 -04:00
committed by GitHub
parent e13a176820
commit 9fc93c72a0
5 changed files with 78 additions and 43 deletions

View File

@@ -163,6 +163,8 @@ class RecordingMaintainer(threading.Thread):
Event.has_clip,
)
.order_by(Event.start_time)
.namedtuples()
.iterator()
)
tasks.extend(