From 59fd3952b7769d3c50ef45e4ecf36c12e4d01508 Mon Sep 17 00:00:00 2001 From: Pieter Callewaert Date: Tue, 26 Dec 2017 11:43:04 +0100 Subject: [PATCH] bug: restore the default value --- cache/redis/redis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache/redis/redis.go b/cache/redis/redis.go index 603ade7e..c5eb8744 100644 --- a/cache/redis/redis.go +++ b/cache/redis/redis.go @@ -171,7 +171,7 @@ func (rc *Cache) StartAndGC(config string) error { cf["password"] = "" } if _, ok := cf["maxIdle"]; !ok { - cf["maxIdle"] = "" + cf["maxIdle"] = "3" } rc.key = cf["key"] rc.conninfo = cf["conn"]