diff --git a/consul/discovery.go b/consul/discovery.go index 7523ca2..b89ce2f 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -81,7 +81,7 @@ func (s *Service) Register() error { }() go func() { // TTL - ticker := time.NewTicker(s.TTL) + ticker := time.NewTicker(s.TTL - 3) for range ticker.C { s.healthCheck() }