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

Error in how FileSystemCache counts number of files #188 #210

Merged
merged 5 commits into from
Jan 7, 2021

Conversation

kengelbrecht
Copy link
Contributor

The set() method in FileSystemCache now checks if the file is new and only then increases file count. To my understanding, this only happened when caching a None value (this is why in the test case I added None values to the cache). I also fixed two locations where a cache file was deleted without updating the file count (in has() and get() methods).

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 79.223% when pulling 908c45a on Kl000s:master into 82fa1d5 on sh4nks:master.

@sh4nks sh4nks merged commit f1899bc into pallets-eco:master Jan 7, 2021
@sh4nks
Copy link
Collaborator

sh4nks commented Jan 7, 2021

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants