From 20b3d5ccbe73eeb2f82ec98385e911cd02f4f924 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 e67fdb355..9f0640038 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{}),