Commit 59fd3952 authored by Pieter Callewaert's avatar Pieter Callewaert

bug: restore the default value

parent 7fd80e6a
......@@ -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"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment