mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
dc54981784
* 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() |
||
---|---|---|
.. | ||
api | ||
comms | ||
detectors | ||
embeddings | ||
events | ||
genai | ||
images | ||
motion | ||
output | ||
ptz | ||
record | ||
review | ||
stats | ||
test | ||
track | ||
util | ||
__init__.py | ||
__main__.py | ||
app.py | ||
config.py | ||
const.py | ||
ffmpeg_presets.py | ||
log.py | ||
models.py | ||
mypy.ini | ||
object_detection.py | ||
object_processing.py | ||
plus.py | ||
storage.py | ||
timeline.py | ||
types.py | ||
video.py | ||
watchdog.py |