mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-20 13:54:36 +01:00
* fix: Resolve deadlock and attribute error in embedding maintainer initialization
Updates the trigger embedding calculation to call embedding methods directly instead of using ZMQ. This prevents a deadlock during initialization where the ZMQ responder is not yet polling for requests.
Also updates sync_triggers to pass the camera name and trigger name to the calculation method, fixing an AttributeError where trigger.name was accessed on a TriggerConfig object.
* mocked repro
* Revert "mocked repro"
This reverts commit dea5b5d4db.
* fix formatting
* Update embeddings.py
new line