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

Caching does not implement a max size #101

Open
matthewelwell opened this issue Apr 25, 2024 · 3 comments
Open

Caching does not implement a max size #101

matthewelwell opened this issue Apr 25, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@matthewelwell
Copy link
Contributor

Currently the caching implementation does not implement a max size. We should add a configurable limit to the size of the cache to ensure that there are no memory concerns when using the cache implementation in the client.

@matthewelwell matthewelwell added enhancement New feature or request good first issue Good for newcomers labels Apr 25, 2024
@matthewelwell
Copy link
Contributor Author

matthewelwell commented Apr 25, 2024

@JFCote @vpetrusevici - mentioning you both here as I know you both worked on the caching implementation. I'm keen to get your thoughts here on whether there's a reason that a max size was not implemented originally.

@JFCote
Copy link
Contributor

JFCote commented Apr 25, 2024

@matthewelwell As far as I remember, I think I didn't add this kind of limitation as it was a "first draft" and "best effort" kind of thing.

I definitely think it would be a great improvement to prevent very big users to bust the memory of their applications.

@matthewelwell
Copy link
Contributor Author

Understood - thanks @JFCote.

@Flagsmith Flagsmith deleted a comment from flagsmith bot Jul 22, 2024
@Flagsmith Flagsmith deleted a comment from flagsmith bot Jul 22, 2024
@Flagsmith Flagsmith deleted a comment from flagsmith bot Jul 22, 2024
@Flagsmith Flagsmith deleted a comment from flagsmith bot Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants