1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

Add option to disable watchdog and set default timeout to DB healthcheck

This commit is contained in:
Frédéric Guillot 2021-05-23 18:24:57 -07:00 committed by fguillot
parent 36d3b1e9fb
commit e0557d8961
4 changed files with 18 additions and 2 deletions

View file

@ -52,7 +52,7 @@ func startDaemon(store *storage.Storage) {
logger.Error("Unable to send readiness notification to systemd: %v", err)
}
if systemd.HasSystemdWatchdog() {
if config.Opts.HasWatchdog() && systemd.HasSystemdWatchdog() {
logger.Info("Activating Systemd watchdog")
go func() {