Add health check timeout parameter
This commit is contained in:
parent
f10516deb7
commit
5acd43efaf
45 changed files with 189 additions and 28 deletions
|
@ -83,6 +83,7 @@ func (s *ConsulCatalogSuite) registerAgentService(name string, address string, p
|
|||
healthCheck = &api.AgentServiceCheck{
|
||||
HTTP: "http://" + address,
|
||||
Interval: "10s",
|
||||
Timeout: "3s",
|
||||
}
|
||||
} else {
|
||||
healthCheck = nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue