Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7725e5dd65 | |||
| 07c0cd6f2e |
@@ -90,8 +90,8 @@ 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",
|
||||||
|
|||||||
Reference in New Issue
Block a user