Commit bf503b5f authored by Akshay Bharambe's avatar Akshay Bharambe
Browse files

Fix: Failed to update session mgr expiration on retrieveAndExtend

parent b74d8d37
Branches
Tags
2 merge requests!218Release v1.1.2,!217Fix: Failed to update session mgr expiration on retrieveAndExtend
Showing with 1 addition and 1 deletion
......@@ -130,7 +130,7 @@ func RetrieveAndExtend(key string, extendBy int64) (Entry, error) {
if timeRemaining < extendBy {
// update with new expiratin
entry.ExpiredAT = time.Now().Add(time.Second * time.Duration(extendBy)).Unix()
entry.Expiration = extendBy
Store(key, entry)
}
}
......
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