From 58b24135972558fdf5b9f65b8b2be47ea8703160 Mon Sep 17 00:00:00 2001 From: Michael Tharp Date: Wed, 16 Aug 2023 11:20:19 -0400 Subject: [PATCH] fix: suppress stale health check error on startup --- server/view_health.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/view_health.go b/server/view_health.go index 6c675e9..364d7e5 100644 --- a/server/view_health.go +++ b/server/view_health.go @@ -50,6 +50,7 @@ func (s *Server) healthCheckInterval() time.Duration { func (s *Server) startHealthCheck() error { healthStatus = s.Config.Server.TokenCheckFailures + healthLastPing = time.Now() go s.healthCheckLoop() return nil }