Skip to content

[RFE?] Use monotonic clock for expiry checks for in-memory stores #85

Answered by maxcountryman
martinetd asked this question in Q&A
Discussion options

You must be logged in to vote

Interesting use case.

Taking a step back, it probably is not clear enough that we fully intend users to write their own stores and the ones included here are largely just for convenience.

So I do think a custom store could be appropriate here.

It's worth pointing out that internally OffsetDateTime is used throughout. This could lead to surprising behavior. For instance, max age will still be calculated with UTC now.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@martinetd
Comment options

@maxcountryman
Comment options

Answer selected by martinetd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants