LocalAI/core/application
Ettore Di Giacinto ee00a10836 fix: use advisory lock for upgrade checker in distributed mode
In distributed mode with multiple frontend instances, use PostgreSQL
advisory lock (KeyBackendUpgradeCheck) so only one instance runs
periodic upgrade checks and auto-upgrades. Prevents duplicate
upgrade operations across replicas.

Standalone mode is unchanged (simple ticker loop).
2026-04-11 11:43:56 +00:00
..
agent_jobs.go feat: add distributed mode (#9124) 2026-03-30 00:47:27 +02:00
application.go fix: use advisory lock for upgrade checker in distributed mode 2026-04-11 11:43:56 +00:00
config_file_watcher.go feat: add AutoUpgradeBackends config and runtime settings 2026-04-11 11:43:56 +00:00
distributed.go feat: add node reconciler, allow to schedule to group of nodes, min/max autoscaler (#9186) 2026-03-31 08:28:56 +02:00
p2p.go feat: add distributed mode (#9124) 2026-03-30 00:47:27 +02:00
startup.go fix: use advisory lock for upgrade checker in distributed mode 2026-04-11 11:43:56 +00:00
upgrade_checker.go fix: use advisory lock for upgrade checker in distributed mode 2026-04-11 11:43:56 +00:00
watchdog.go feat: allow to pin models and skip from reaping (#9309) 2026-04-11 08:38:17 +02:00