1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 05:10:54 +00:00

fix issue#521, return error when init redis session

This commit is contained in:
Pengfei Xue 2014-03-07 16:35:34 +08:00
parent f3ba41a991
commit 9957a867cd

View File

@ -129,7 +129,8 @@ func (rp *RedisProvider) SessionInit(maxlifetime int64, savePath string) error {
} }
return c, err return c, err
}, rp.poolsize) }, rp.poolsize)
return nil
return rp.poollist.Get().Err()
} }
// read redis session by sid // read redis session by sid