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

chore(db): add ttl to indexed cache #16

Open
1 task
kodemon opened this issue Dec 1, 2022 · 0 comments
Open
1 task

chore(db): add ttl to indexed cache #16

kodemon opened this issue Dec 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@kodemon
Copy link
Collaborator

kodemon commented Dec 1, 2022

Currently the cache will just keep building up a memory profile views are traversed without mutations (which clears the cache). This can result in memory bloat.

  • Add a ttl timeout to cache to delete a query if it hasn't been accessed in x time.
@kodemon kodemon added the enhancement New feature or request label Dec 1, 2022
@kodemon kodemon self-assigned this Dec 1, 2022
@kodemon kodemon removed their assignment Mar 27, 2023
@kodemon kodemon added enhancement New feature or request and removed enhancement New feature or request labels Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant