mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-16 16:15:22 +03:00
Set body size to be larger
This commit is contained in:
parent
40c83c69b9
commit
a8725fd313
@ -246,6 +246,8 @@ http {
|
|||||||
proxy_no_cache $should_not_cache;
|
proxy_no_cache $should_not_cache;
|
||||||
add_header X-Cache-Status $upstream_cache_status;
|
add_header X-Cache-Status $upstream_cache_status;
|
||||||
|
|
||||||
|
client_max_body_size 10M;
|
||||||
|
|
||||||
location /api/vod/ {
|
location /api/vod/ {
|
||||||
include auth_request.conf;
|
include auth_request.conf;
|
||||||
proxy_pass http://frigate_api/vod/;
|
proxy_pass http://frigate_api/vod/;
|
||||||
|
|||||||
@ -905,9 +905,14 @@ def set_sub_label(
|
|||||||
|
|
||||||
event = None
|
event = None
|
||||||
|
|
||||||
tracked_obj: TrackedObject = request.app.detected_frames_processor.camera_states[
|
if request.app.detected_frames_processor:
|
||||||
event.camera if event else body.camera
|
tracked_obj: TrackedObject = (
|
||||||
].tracked_objects.get(event_id)
|
request.app.detected_frames_processor.camera_states[
|
||||||
|
event.camera if event else body.camera
|
||||||
|
].tracked_objects.get(event_id)
|
||||||
|
)
|
||||||
|
else:
|
||||||
|
tracked_obj = None
|
||||||
|
|
||||||
if not event and not tracked_obj:
|
if not event and not tracked_obj:
|
||||||
return JSONResponse(
|
return JSONResponse(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user