Minimize open connections maintained by client

This commit is contained in:
Armon Dadgar 2013-12-19 15:10:29 -08:00
parent 5b0ca256ff
commit 20b3d5ccbe
1 changed files with 1 additions and 1 deletions

View File

@ -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{}),