blakeblackshear.frigate/frigate/test
gtsiam dc54981784
Move more things out of FrigateApp (#13897)
* Moved FrigateApp.init_config() into FrigateConfig.load()

* Move frigate config loading into main

* Store PlusApi in FrigateConfig

* Register SIGTERM handler in main

* Ensure logging is setup during config parsing

* Removed pointless try

* Moved config initialization out of FrigateApp

* Made FrigateApp.shm_frame_count into a function

* Removed log calls from signal handlers

python's logging calls are not re-entrant, which caused at least one of
these to deadlock randomly.

* Reopen stdout/err on process fork

This helps avoid deadlocks (https://github.com/python/cpython/issues/91776).

* Make mypy happy

* Whoops. I might have forgotten to save.

Truly an amateur mistake.

* Always call FrigateApp.stop()
2024-09-24 07:07:47 -05:00
..
__init__.py
const.py
test_birdseye.py
test_camera_pw.py
test_config.py Removed usage of PyYAML for config parsing. (#13883) 2024-09-22 10:56:57 -05:00
test_copy_yuv_to_position.py
test_ffmpeg_presets.py Removed usage of PyYAML for config parsing. (#13883) 2024-09-22 10:56:57 -05:00
test_gpu_stats.py
test_http.py Move more things out of FrigateApp (#13897) 2024-09-24 07:07:47 -05:00
test_object_detector.py
test_record_retention.py
test_reduce_boxes.py
test_storage.py
test_video.py
test_yuv_region_2_rgb.py