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:
parent
36d3b1e9fb
commit
e0557d8961
4 changed files with 18 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue