debug fix

This commit is contained in:
Piotr Biernat 2024-07-20 19:59:12 +02:00
parent d29bd0810b
commit 07c0cd6f2e

View File

@ -90,9 +90,9 @@ func (s *Service) Register() error {
// DestinationServiceName: s.Name, // DestinationServiceName: s.Name,
// }, // },
Check: &consul.AgentServiceCheck{ Check: &consul.AgentServiceCheck{
Interval: "5s", Interval: "5s",
Timeout: "1s", Timeout: "1s",
TTL: s.ttl.String(), // TTL: s.ttl.String(),
Status: "passing", Status: "passing",
DeregisterCriticalServiceAfter: "10s", DeregisterCriticalServiceAfter: "10s",
}, },