mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
A turn beat was written with the clock of the frontend that runs the turn and compared with the clock of the frontend that reaps. A skew of about the turn timeout made the reaper end live turns. ReapTurns now takes an idle duration, and the GORM store reads the time from the database for the claim, the beat and the cutoff. The JSON store is single-process and keeps the local clock. Assisted-by: Claude Code:claude-sonnet-5-5 Signed-off-by: Ettore Di Giacinto <mudler@localai.io>