mirror of https://github.com/astaxie/beego.git
bug: restore the default value
This commit is contained in:
parent
7fd80e6aa1
commit
59fd3952b7
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue