Commit 385f2e9e authored by Akshay Bharambe's avatar Akshay Bharambe
Browse files

Merge branch 'devbranch' into ab_Release_v1.1.2

parents 20ec34f1 5b0e2493
Branches
Tags
2 merge requests!252staging branch is merged into devbranch.,!218Release v1.1.2
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