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

FileSystemCache: new parameter size_limit #1183

Closed
blixhavn opened this issue Oct 18, 2017 · 2 comments
Closed

FileSystemCache: new parameter size_limit #1183

blixhavn opened this issue Oct 18, 2017 · 2 comments

Comments

@blixhavn
Copy link
Contributor

In environments with limited disk space available for cache and variable element size, it might be too unpredictable to use the existing threshold parameter. I therefore suggest to introduce a size_limit parameter that will be used in the _prune function. Since calculating cache size can be an expensive operation, this should be maintained as a non-decaying cache element, to be updated on cache updates.

@blixhavn
Copy link
Contributor Author

@davidism Any input here?

@lepture
Copy link
Contributor

lepture commented Feb 4, 2018

close it via #1249

@lepture lepture closed this as completed Feb 4, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants