mirror of
https://github.com/mudler/LocalAI
synced 2026-05-24 09:28:23 +00:00
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). |
||
|---|---|---|
| .. | ||
| agent_jobs.go | ||
| application.go | ||
| config_file_watcher.go | ||
| distributed.go | ||
| p2p.go | ||
| startup.go | ||
| upgrade_checker.go | ||
| watchdog.go | ||