From bbf7348abc8273be4d2956f568508aae8bde2a30 Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Thu, 2 Jun 2016 00:57:22 -0700 Subject: [PATCH] Bump the default Consul client timeout from 500ms to 5s. Requsted by: @dadgar --- client/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/config/config.go b/client/config/config.go index b0f993d0e..d2ae39e4d 100644 --- a/client/config/config.go +++ b/client/config/config.go @@ -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",