From 7da995891e064badfda7da2a75c2a36fdb8ceb56 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Fri, 1 May 2015 13:24:24 +0300 Subject: [PATCH] Lower ticker duration. --- cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster.go b/cluster.go index f7a9f21..f5fbaf7 100644 --- a/cluster.go +++ b/cluster.go @@ -241,7 +241,7 @@ func (c *ClusterClient) scheduleReload() { // reaper closes idle connections to the cluster. func (c *ClusterClient) reaper() { - ticker := time.NewTicker(5 * time.Minute) + ticker := time.NewTicker(time.Minute) defer ticker.Stop() for _ = range ticker.C { c.clientsMx.RLock()