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

Restore caching of download failures #501

Merged
merged 7 commits into from
Jul 21, 2021
Merged

Conversation

relaxolotl
Copy link
Contributor

This re-applies the changes in #484, with one difference: Download failures are stored as CacheStatus::Malformed instead of CacheStatus::Negative.

This is meant to be a stopgap against repeatedly re-downloading files. A known caveat to the changes in this diff is that it is currently not possible in a cached failure to distinguish between download failures and malformed object files. A follow-up PR that attempts to address that drawback will be opened later.

@relaxolotl relaxolotl requested review from flub, jan-auer and a team July 20, 2021 20:40
@relaxolotl relaxolotl merged commit 8b54f12 into master Jul 21, 2021
@relaxolotl relaxolotl deleted the feat/restore-negative-cache branch July 21, 2021 19:38
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.

3 participants