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

Properly update archiveFolder cache #314

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

slifty
Copy link
Contributor

@slifty slifty commented Nov 14, 2023

This PR fixes an issue with the recently improved cache updating logic so that folders are updated with information about newly created items regardless of whether they are "root level" archive folders. The original fix would only update caches for folders that had been created within the root level archive folders.

Resolves #306

Archive folders are currently stored in a separate cache from other
folders. This may not actually be the correct design decision, but since
it is the current implementation we do at least want to make sure that
the cache optimization related to updating caches with information about
newly created items applies to those folders as well.

Issue #306 Update cache after file / folder creation
@slifty slifty requested a review from nfebe November 14, 2023 19:02
@slifty slifty merged commit 4f692a7 into main Nov 14, 2023
2 checks passed
@slifty slifty deleted the 306-update-archive-folder-caches-too branch November 14, 2023 20:06
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.

Update cache after file / folder creation
2 participants