Skip to content

Commit

Permalink
fix: suppress stale health check error on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
mtharp committed Aug 16, 2023
1 parent 3378605 commit 58b2413
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/view_health.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 58b2413

Please sign in to comment.