frigate/frigate
wozz 6b9b3778f5
fix: attribute error in embedding maintainer ini… (#21252)
* 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
2025-12-13 07:12:09 -07:00
..
api Miscellaneous Fixes (#21241) 2025-12-12 07:45:03 -06:00
camera Miscellaneous Fixes (#20897) 2025-11-17 08:12:05 -06:00
comms Replace stringy paths with constants (#21247) 2025-12-12 06:22:09 -07:00
config Authentication improvements (#21194) 2025-12-08 09:02:28 -07:00
data_processing Miscellaneous Fixes (#21208) 2025-12-11 07:23:34 -07:00
db Improve LPR regex support (#19767) 2025-08-26 08:11:37 -05:00
detectors Adds support for YOLO v9 models running on Google Coral (#21124) 2025-12-02 13:26:57 -07:00
embeddings fix: attribute error in embedding maintainer ini… (#21252) 2025-12-13 07:12:09 -07:00
events Various Tweaks (#20800) 2025-11-04 17:06:14 -06:00
genai Miscellaneous Fixes (#21208) 2025-12-11 07:23:34 -07:00
images Replace green screen with error message and force camera_fps to 0 (#4544) 2022-11-28 21:47:20 -06:00
motion Miscellaneous Fixes (#21241) 2025-12-12 07:45:03 -06:00
object_detection [MemryX] Clean shutdown of detector process (#21035) 2025-11-25 10:25:07 -07:00
output Add optional idle heartbeat for Birdseye (#20453) 2025-10-19 05:20:36 -06:00
ptz Miscellaneous Fixes (#21193) 2025-12-09 12:08:44 -06:00
record Fix review summary for DST (#20770) 2025-11-03 07:34:47 -06:00
review Miscellaneous Fixes (#20850) 2025-11-09 08:38:38 -06:00
service_manager Add metrics page for embeddings and face / license plate processing times (#15818) 2025-02-08 12:47:01 -06:00
stats Miscellaneous Fixes (#20973) 2025-11-20 17:50:17 -06:00
test Enforce default admin role requirement for API endpoints (#21065) 2025-11-26 15:07:28 -06:00
track Miscellaneous Fixes (#21241) 2025-12-12 07:45:03 -06:00
util Replace stringy paths with constants (#21247) 2025-12-12 06:22:09 -07:00
__init__.py app container and config schema 2021-01-26 21:40:33 -06:00
__main__.py Handle SIGINT with forkserver (#18860) 2025-08-16 10:20:33 -05:00
app.py Add login page docs hint (#20619) 2025-10-22 12:24:53 -05:00
const.py Miscellaneous Fixes (#21024) 2025-11-24 06:34:56 -07:00
ffmpeg_presets.py Fix ffmpeg command (#20637) 2025-10-23 11:51:16 -05:00
log.py 0.17 tweaks (#18892) 2025-08-16 10:20:33 -05:00
models.py Authentication improvements (#21194) 2025-12-08 09:02:28 -07:00
mypy.ini Enable mypy for track and fix typing errors (#19529) 2025-08-17 12:27:42 -05:00
plus.py Add ability to update Frigate+ model to latest from UI (#17324) 2025-03-24 09:19:58 -06:00
storage.py Miscellaneous Fixes (#21102) 2025-12-02 07:21:15 -07:00
timeline.py Miscellaneous Fixes (#21024) 2025-11-24 06:34:56 -07:00
types.py Miscellaneous Fixes (#21005) 2025-11-23 08:40:25 -07:00
video.py Miscellaneous Fixes (#21241) 2025-12-12 07:45:03 -06:00
watchdog.py Improve async object detector support (#17712) 2025-04-15 08:55:38 -05:00