bug: restore the default value

This commit is contained in:
Pieter Callewaert 2017-12-26 11:43:04 +01:00
parent 7fd80e6aa1
commit 59fd3952b7
1 changed files with 1 additions and 1 deletions

View File

@ -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"]