LocalAI/pkg/model
Ettore Di Giacinto 10a66938f9
fix: guard from potential deadlock with requests in flight (#6484)
* fix(watchdog): guard from potential deadlock with requests in flight

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* Improve locking when loading models

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2025-10-16 21:28:19 +02:00
..
filters.go chore(refactor): drop duplicated shutdown logics (#3589) 2024-09-17 16:51:40 +02:00
initializers.go fix: register backends to model-loader during installation (#6159) 2025-08-28 19:11:02 +02:00
loader.go fix: guard from potential deadlock with requests in flight (#6484) 2025-10-16 21:28:19 +02:00
loader_options.go feat: refactor build process, drop embedded backends (#5875) 2025-07-22 16:31:04 +02:00
loader_test.go feat(ui): General improvements (#6072) 2025-08-16 07:44:50 +02:00
model.go chore(refactor): track grpcProcess in the model structure (#3663) 2024-09-26 12:44:55 +02:00
model_suite_test.go tests: add template tests (#2063) 2024-04-18 10:57:24 +02:00
process.go chore: update cogito and simplify MCP logics (#6413) 2025-10-09 12:36:45 +02:00
watchdog.go fix: guard from potential deadlock with requests in flight (#6484) 2025-10-16 21:28:19 +02:00