03b17a2c by astaxie

Merge pull request #522 from pengfei-xue/develop

fix issue#521, return error when init redis session
2 parents f3ba41a9 9957a867
......@@ -129,7 +129,8 @@ func (rp *RedisProvider) SessionInit(maxlifetime int64, savePath string) error {
}
return c, err
}, rp.poolsize)
return nil
return rp.poollist.Get().Err()
}
// read redis session by sid
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!