run recording deletion off the event loop

This commit is contained in:
Josh Hawkins
2026-11-23 14:57:02 -06:00
parent 3a1f4eca4c
commit 40f6b5f545
+1 -1
View File
@@ -489,7 +489,7 @@ async def no_recordings(
Recordings can be filtered by cameras and kept based on motion, objects, or audio attributes. Recordings can be filtered by cameras and kept based on motion, objects, or audio attributes.
""", """,
) )
async def delete_recordings( def delete_recordings(
start: float = PathParam(..., description="Start timestamp (unix)"), start: float = PathParam(..., description="Start timestamp (unix)"),
end: float = PathParam(..., description="End timestamp (unix)"), end: float = PathParam(..., description="End timestamp (unix)"),
params: RecordingsDeleteQueryParams = Depends(), params: RecordingsDeleteQueryParams = Depends(),