mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
let the queues get as big as needed
This commit is contained in:
parent
3a66e672d3
commit
e261c20819
@ -73,7 +73,7 @@ def main():
|
||||
|
||||
# Queue for prepped frames, max size set to number of regions * 3
|
||||
max_queue_size = sum([len(camera['regions'])*3 for name, camera in CONFIG['cameras'].items()])
|
||||
prepped_frame_queue = queue.Queue(max_queue_size)
|
||||
prepped_frame_queue = queue.Queue()
|
||||
|
||||
cameras = {}
|
||||
for name, config in CONFIG['cameras'].items():
|
||||
|
@ -168,7 +168,7 @@ class Camera:
|
||||
|
||||
# Queue for prepped frames, max size set to (number of regions * 5)
|
||||
max_queue_size = len(self.config['regions'])*5
|
||||
self.resize_queue = queue.Queue(max_queue_size)
|
||||
self.resize_queue = queue.Queue()
|
||||
|
||||
# Queue for raw detected objects
|
||||
self.detected_objects_queue = queue.Queue()
|
||||
|
Loading…
Reference in New Issue
Block a user