debug fix

This commit is contained in:
Piotr Biernat 2024-07-20 20:12:29 +02:00
parent 07c0cd6f2e
commit 7725e5dd65

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",
}, },