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

Redis expiration should be simplyfied #40

Open
kamphuisem opened this issue Jan 17, 2025 · 0 comments
Open

Redis expiration should be simplyfied #40

kamphuisem opened this issue Jan 17, 2025 · 0 comments

Comments

@kamphuisem
Copy link
Contributor

Currently, the Redis repository manually scans the entire database every 5 minutes to evict expired keys (like the InMemory repository does).
However, Redis provides out of the box functionality for this by using jedis.expire(...), which should be used instead of the custom code in theremoveExpired(..) function.

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

No branches or pull requests

1 participant