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

Allow preexisting directories in the cache path #2

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

maxhipperson
Copy link
Contributor

When you add a directory to the cache key you can end up with a race where two async writes both try to create the directory and one throws because it now exists. This just allows for the directory to exist already.

@maxhipperson maxhipperson added the bug Something isn't working label Feb 5, 2024
@maxhipperson maxhipperson merged commit dece7d0 into master Feb 5, 2024
5 of 6 checks passed
@maxhipperson maxhipperson deleted the directory-race branch February 5, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working echoes/intent: tech-debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants