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

Merge branch 'devbranch' into ab_Add_CallByBranch

parents 032e3101 5b0e2493
Branches ab_Add_CallByBranch
Tags
2 merge requests!220Release v2.0.0 alpha,!219Add: Support for branches
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