Skip to content

Commit

Permalink
Lower ticker duration.
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed May 1, 2015
1 parent cc0ee10 commit 7da9958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7da9958

Please sign in to comment.