Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(moka): use Moka per-entry time-based eviction policy #30

Merged
merged 1 commit into from
May 5, 2024

Conversation

arcstur
Copy link
Contributor

@arcstur arcstur commented May 4, 2024

This uses Moka's per-entry eviction policy using the record's expiry date. With that, expired records are automatically removed from the cache, making it consume less resources and avoiding the current expiry check on load.

This uses Moka's per-entry eviction policy using the
record's expiry date. With that, expired records are
automatically removed from the cache, making it
consume less resources and avoiding the current
expiry check on `load`.
@maxcountryman maxcountryman merged commit 318ba06 into maxcountryman:main May 5, 2024
9 checks passed
@arcstur arcstur deleted the use-moka-eviction-policy branch May 6, 2024 00:24
@maxcountryman
Copy link
Owner

This is released as 0.13.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants