blakeblackshear.frigate/frigate/events
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 Ability to manually create events through the API (#3184) 2023-05-19 05:16:11 -05:00
audio.py Move more things out of FrigateApp (#13897) 2024-09-24 07:07:47 -05:00
cleanup.py Chroma fixes (#13902) 2024-09-23 06:53:19 -06:00
external.py Cleanup after recordings refactor (#13518) 2024-09-03 08:49:50 -06:00
maintainer.py Refactor recordings retention to be based on review items (#13355) 2024-09-02 07:22:53 -06:00
types.py Rewrite events communication to use zmq instead of mp.Queue (#10627) 2024-03-23 11:11:32 -05:00