From 07c0cd6f2ecd0932df105ec6dd6173c6a2de485b Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Sat, 20 Jul 2024 19:59:12 +0200 Subject: [PATCH] debug fix --- consul/discovery.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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", },