From 3f6969fe3f828e5714b81f5011997292cf3eecd6 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Tue, 10 Jun 2025 16:40:17 -0600 Subject: [PATCH] Leave extra room in tracked object queue for two cameras --- frigate/app.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frigate/app.py b/frigate/app.py index 5d4223ac0..f3eaf657f 100644 --- a/frigate/app.py +++ b/frigate/app.py @@ -134,8 +134,13 @@ class FrigateApp: def init_queues(self) -> None: # Queue for cameras to push tracked objects to + # leaving room for 2 extra cameras to be added self.detected_frames_queue: Queue = mp.Queue( - maxsize=sum(camera.enabled for camera in self.config.cameras.values()) * 2 + maxsize=( + sum(camera.enabled_in_config for camera in self.config.cameras.values()) + + 2 + ) + * 2 ) # Queue for timeline events