Commit 7d967f7b authored by Ajit Jagtap's avatar Ajit Jagtap
Browse files

Merge branch 'ab_Release_v1.1.2' into 'staging'

Release v1.1.2

See merge request !218
parents 20ec34f1 385f2e9e
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