Skip to content

fix: improve watchdown logics - #8591

Merged
mudler merged 3 commits into
masterfrom
fix/watchdog
Feb 17, 2026
Merged

fix: improve watchdown logics#8591
mudler merged 3 commits into
masterfrom
fix/watchdog

Conversation

@mudler

@mudler mudler commented Feb 17, 2026

Copy link
Copy Markdown
Owner

Description

This PR is multi-fold trying to fix some issues found in the watchdog:

  • There was a bug which, when loading models and saving again setting would prevent the watchdog to start again. This is because we were starting with a new watchdog and not retaining any state across wd's (now, we save a state and we restore it when starting a new watchdog)
  • We were using some time.Sleeps, these have been refactored into a channel to proper wait shutdown between watchdogs
  • Some runtime settings were not being read and were not persisting across reboots

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

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

netlify Bot commented Feb 17, 2026

Copy link
Copy Markdown

Deploy Preview for localai ready!

Name Link
🔨 Latest commit b236389
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/6994aa1cc5a0a6000800aff2
😎 Deploy Preview https://deploy-preview-8591--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mudler
mudler merged commit ecba23d into master Feb 17, 2026
35 of 36 checks passed
@mudler
mudler deleted the fix/watchdog branch February 17, 2026 17:49
@mudler mudler added the bug Something isn't working label Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant