From 7725e5dd6529b73da8bb66e55aad84772b2d8da7 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Sat, 20 Jul 2024 20:12:29 +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 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", },