Closed 0x1ee7 closed 1 year ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
On our use case we need to rely on expiration timestamps but we realized that they return zero timestamps. Our assumption is that this is due to a bug and not by design.
Problem
When
OnEvict
callback is executedItem
does not haveExpiration
field set. Considering it is a public field this needs to be set and available.Solution
Initialize
Expiration
field before calling theonEvict
callback