diff --git a/consul/discovery.go b/consul/discovery.go index c40a157..1a29de2 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -90,9 +90,9 @@ func (s *Service) Register() error { // DestinationServiceName: s.Name, // }, Check: &consul.AgentServiceCheck{ - Interval: "5s", - Timeout: "1s", - // TTL: s.ttl.String(), + // Interval: "5s", + // Timeout: "1s", + TTL: s.ttl.String(), Status: "passing", DeregisterCriticalServiceAfter: "10s", },