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

Ensure all Redis-backed caching has a timeout or pruning logic #618

Open
TLSM opened this issue Jul 12, 2023 · 0 comments
Open

Ensure all Redis-backed caching has a timeout or pruning logic #618

TLSM opened this issue Jul 12, 2023 · 0 comments

Comments

@TLSM
Copy link
Collaborator

TLSM commented Jul 12, 2023

At time of fork, it was part of the semi-frequent maintenance process to delete every key in Redis. This is because some uses of flask-caching did not have cache timeouts set. Or, for places like the logged-in counter that store data directly, were not pruning old entries.

Redis will soon be persisted across restarts, and this issue is timely and likely needs resolved within a couple weeks before performance issues accumulate (diagnosable by a sampling profiler spending >20% time in json.loads).

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