debug fix
This commit is contained in:
parent
d29bd0810b
commit
07c0cd6f2e
@ -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",
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user