You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I appreciate the attached test case, since it crashes it's pretty obvious something is wrong .. I agree with your reasoning about extending TTL, so i will merge it.
When checkExpireCallback returns true, we should always extend the
ttl
of the item, irrespective of the value ofskipTtlExtension
.https://github.com/ReneKroon/ttlcache/blob/f76125ae8c0559130e32b4f47bb3284f7abed9a8/cache.go#L89-L93
The text was updated successfully, but these errors were encountered: