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: improve cache warmup by creating required directories #407

Merged
merged 2 commits into from
Aug 19, 2023

Conversation

romm
Copy link
Member

@romm romm commented Aug 19, 2023

Calling the mapper warmup will now go through all caches layers and run a warmup process. When using FileSystemCache that is provided by the library, the directories required by this cache will be created.

This should fix an issue that could occur when race conditions happened in an app with a lot of traffic.

Fixes #401

Calling the mapper warmup will now go through all caches layers and run
a warmup process. When using `FileSystemCache` that is provided by the
library, the directories required by this cache will be created.

This should fix an issue that could occur when race conditions happened
in an app with a lot of traffic.
@romm romm merged commit 1617930 into CuyZ:master Aug 19, 2023
11 checks passed
@romm romm deleted the fix/cache-warmup branch August 19, 2023 12:22
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.

Ensure cache dirs are always present
1 participant