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

Reduce directory cache time to 5 seconds #21

Merged
merged 1 commit into from
Jul 1, 2023
Merged

Conversation

chenxiaolong
Copy link
Owner

This mitigates files not showing up after a file copy or move for 5 minutes with the default timeout. This is a brute force solution, but it's the best we can do because there's no public or private API for manually triggering a directory cache invalidation.

This mitigates files not showing up after a file copy or move for 5
minutes with the default timeout. This is a brute force solution, but
it's the best we can do because there's no public or private API for
manually triggering a directory cache invalidation.

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong chenxiaolong self-assigned this Jul 1, 2023
@chenxiaolong chenxiaolong merged commit 77703a0 into master Jul 1, 2023
@chenxiaolong chenxiaolong deleted the dir_cache branch July 1, 2023 01:44
chenxiaolong added a commit that referenced this pull request Jul 1, 2023
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
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.

1 participant