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

Renew timeout when query is accessed via cache #254

Open
federicoemartinez opened this issue Feb 11, 2024 · 0 comments
Open

Renew timeout when query is accessed via cache #254

federicoemartinez opened this issue Feb 11, 2024 · 0 comments

Comments

@federicoemartinez
Copy link

federicoemartinez commented Feb 11, 2024

If I understood correctly, every query is cached. If we configure a timeout and we use for instance redis, the key will expire after the timeout.

My question is: Is the timeout refreshed when a query is accessed again? I think this would be useful as it would allow to set a "low" timeout to avoid redis getting full of one time queries, but the most common ones will remain always in cache

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

No branches or pull requests

1 participant