From 9eb6ab819669c731e5b277a7b3cbbd693143137c Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Thu, 19 Dec 2013 15:10:29 -0800 Subject: [PATCH] Minimize open connections maintained by client --- consul/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/client.go b/consul/client.go index e67fdb3557..9f0640038f 100644 --- a/consul/client.go +++ b/consul/client.go @@ -59,7 +59,7 @@ func NewClient(config *Config) (*Client, error) { // Create server c := &Client{ config: config, - connPool: NewPool(5), + connPool: NewPool(1), eventCh: make(chan serf.Event, 256), logger: logger, shutdownCh: make(chan struct{}),