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

Fix/cache maxsize #327

Merged
merged 6 commits into from
Aug 30, 2022
Merged

Fix/cache maxsize #327

merged 6 commits into from
Aug 30, 2022

Conversation

romain-intel
Copy link
Contributor

No description provided.

There were two main issues with the current implementation:
  - the size of files was considered to be the number of bytes which is
    not the best for large number of small files which can happen when the
    cache is dealing with artifacts (lots of small ones). The fix is to reason
    based on the block size.
  - there was a possibility where a file could be marked as deletable and would
    then be re-created only to be then deleted again. This fix addresses this
    situation.
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

Successfully merging this pull request may close these issues.

None yet

4 participants