Bump the default Consul client timeout from 500ms to 5s.

Requsted by: @dadgar
This commit is contained in:
Sean Chittenden
2016-06-02 00:57:22 -07:00
parent 86b5d318f8
commit bbf7348abc

View File

@@ -139,7 +139,7 @@ func DefaultConfig() *Config {
ServerServiceName: "nomad",
ClientServiceName: "nomad-client",
AutoRegister: true,
Timeout: 500 * time.Millisecond,
Timeout: 5 * time.Second,
},
LogOutput: os.Stderr,
Region: "global",