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

fix lru cache expire #60

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

Conversation

Mahdi-zarei
Copy link

LRU cache can both support a default age and specific expire time for each entry, so when we are checking for whether an entry has expired we must check if the value has an expire time and if it has expired, not if we have a default age and it has expired.

@nekohasekai nekohasekai force-pushed the dev branch 2 times, most recently from 02535f6 to a74e3a1 Compare March 24, 2024 17:50
@Mahdi-zarei Mahdi-zarei reopened this Mar 25, 2024
@nekohasekai nekohasekai force-pushed the dev branch 8 times, most recently from 76e2ce0 to 2fa0399 Compare April 10, 2024 12:25
@nekohasekai nekohasekai force-pushed the dev branch 3 times, most recently from 4903b51 to a743e05 Compare May 29, 2024 07:53
@nekohasekai nekohasekai force-pushed the dev branch 6 times, most recently from 98a9f6a to 37bee34 Compare June 11, 2024 13:14
@nekohasekai nekohasekai force-pushed the dev branch 3 times, most recently from d9a5120 to 9e478d9 Compare June 23, 2024 10:42
@nekohasekai nekohasekai force-pushed the dev branch 12 times, most recently from 50fa1ab to cd17884 Compare October 22, 2024 03:19
@nekohasekai nekohasekai force-pushed the dev branch 7 times, most recently from 8452992 to c80c8f9 Compare November 5, 2024 10:43
@nekohasekai nekohasekai force-pushed the dev branch 11 times, most recently from cc74a33 to e52e04f Compare November 15, 2024 08:27
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.

3 participants