From d5f9a80b6c00a5072b1ebca2887881b8b85fcc3e Mon Sep 17 00:00:00 2001 From: Guilhem Lettron Date: Thu, 2 Feb 2017 14:52:59 +0100 Subject: [PATCH] Remove web watchdog --- traefik.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/traefik.go b/traefik.go index 8441cdce4..5399b919e 100644 --- a/traefik.go +++ b/traefik.go @@ -257,13 +257,7 @@ func run(traefikConfiguration *TraefikConfiguration) { go func(interval time.Duration) { tick := time.Tick(interval) for range tick { - if server.globalConfiguration.Web != nil { - if _, err := http.Head("http://" + server.globalConfiguration.Web.Address + "/ping"); err == nil { - daemon.SdNotify(true, "WATCHDOG=1") - } - } else { - daemon.SdNotify(true, "WATCHDOG=1") - } + daemon.SdNotify(true, "WATCHDOG=1") } }(t) }