blakeblackshear.frigate/frigate
Cody Cutrer 2fae9dcb93
reduce contention on frame_queue (#6890)
* reduce contention on frame_queue

don't check if the queue is full, just attempt to add the frame
in a non-blocking manner, and then if it fails, skip it

* don't check if the frame queue is empty, just try and get from it

* Update frigate/video.py

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>

---------

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
2023-07-06 08:18:39 -05:00
..
comms Ptz cleanup (#6999) 2023-07-06 07:42:17 -05:00
detectors Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
events Use pre capture for custom events (#7038) 2023-07-06 07:26:53 -05:00
images
motion
record Performance: multiprocessing improvement: step 2 (#6986) 2023-07-06 07:56:38 -05:00
test use clahe for contrast improvement (#6835) 2023-06-18 11:56:41 -05:00
track Fix max_frames, improve stationary objects in masked areas (#6815) 2023-06-16 07:32:43 -05:00
__init__.py
__main__.py
app.py Performance: multiprocessing improvement: step 2 (#6986) 2023-07-06 07:56:38 -05:00
config.py Audio events (#6848) 2023-07-01 08:18:33 -05:00
const.py Check ffmpeg version instead of checking for presence of BTBN_PATH (#7023) 2023-07-06 07:35:26 -05:00
ffmpeg_presets.py Check ffmpeg version instead of checking for presence of BTBN_PATH (#7023) 2023-07-06 07:35:26 -05:00
http.py Add designator when events are from the api (#6997) 2023-07-03 09:48:00 -05:00
log.py
models.py
mypy.ini
object_detection.py Performance: multiprocessing improvement: step 2 (#6986) 2023-07-06 07:56:38 -05:00
object_processing.py
output.py Force birdseye cameras into standard aspect ratios (#7026) 2023-07-06 07:30:05 -05:00
plus.py
ptz.py
stats.py
storage.py
timeline.py
types.py Audio events (#6848) 2023-07-01 08:18:33 -05:00
util.py Performance: multiprocessing improvement: step 2 (#6986) 2023-07-06 07:56:38 -05:00
video.py reduce contention on frame_queue (#6890) 2023-07-06 08:18:39 -05:00
watchdog.py