diff --git a/consul/discovery.go b/consul/discovery.go index b7d1e01..c40a157 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", },