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 PINDiskCache byteCount tracking #30

Merged
merged 1 commit into from
Sep 23, 2015
Merged

Conversation

rewcraig
Copy link
Contributor

Decrease byteCount by file's previous byteCount if updating object already in cache.

@garrettmoon
Copy link
Collaborator

Awesome! Thank you for this fix! Do you mind writing a test for this?

Decrease byteCount by file's previous byteCount if updating object already in cache.
@rewcraig
Copy link
Contributor Author

No problem. Hopefully the test i've submitted is sufficient.

garrettmoon added a commit that referenced this pull request Sep 23, 2015
Fix PINDiskCache byteCount tracking
@garrettmoon garrettmoon merged commit 33c83f5 into pinterest:master Sep 23, 2015
@garrettmoon
Copy link
Collaborator

Yup! Thanks!

@rewcraig
Copy link
Contributor Author

No trouble at all! Thanks!

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.

2 participants