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

fs-cache: add option to disable scheduled removal #82

Merged
merged 2 commits into from Feb 22, 2024

Conversation

homer0
Copy link
Owner

@homer0 homer0 commented Feb 22, 2024

What does this PR do?

When calling the fs-cache's use, you now have a new option called scheduledRemoval (default true), which allows you to disable the setTimeout that gets created in order to remove the entry when it expires. Without the timeout, you'll have to use the purge/purgeFs methods, or leave the service to do it the next time the entry get created.

I also updated all the dependencies.

How should it be tested manually?

pnpm test

@homer0 homer0 merged commit 2381ee3 into main Feb 22, 2024
25 checks passed
@homer0 homer0 deleted the homer0_disableSchedule branch February 22, 2024 11:51
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.

None yet

1 participant