mirror of
https://github.com/mudler/LocalAI.git
synced 2026-01-06 02:29:54 -06:00
chore(memory-reclaimer): use saner defaults
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
@@ -278,7 +278,7 @@ func loadRuntimeSettingsFromFile(options *config.ApplicationConfig) {
|
||||
options.WatchDogInterval = dur
|
||||
} else {
|
||||
log.Warn().Err(err).Str("interval", *settings.WatchdogInterval).Msg("invalid watchdog interval in runtime_settings.json")
|
||||
options.WatchDogInterval = 10 * time.Second
|
||||
options.WatchDogInterval = model.DefaultWatchdogInterval
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user