mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 03:35:26 +03:00
Update http.py
Limit query results
This commit is contained in:
parent
16bb2fde0c
commit
21fbe343cf
@ -1389,6 +1389,7 @@ def get_snapshot_from_recording(camera_name: str, frame_time: str):
|
||||
)
|
||||
.where(Recordings.camera == camera_name)
|
||||
.order_by(Recordings.start_time.desc())
|
||||
.limit(1)
|
||||
)
|
||||
|
||||
try:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user