mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 07:10:55 +00:00
Merge pull request #522 from pengfei-xue/develop
fix issue#521, return error when init redis session
This commit is contained in:
commit
03b17a2ca9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user