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

[30] don't use cached root info from shared cache if the watcher has detected an update #50716

Closed
wants to merge 2 commits into from

Conversation

icewind1991
Copy link
Member

Backport of #50324 without the interface changes

Signed-off-by: Robin Appelman <robin@icewind.nl>
…detected an update

Signed-off-by: Robin Appelman <robin@icewind.nl>
$this->watcher = parent::getWatcher($path, $storage);
if ($cache instanceof Cache && $this->watcher instanceof Watcher) {

Check notice

Code scanning / Psalm

RedundantConditionGivenDocblockType Note

Docblock-defined type OC\Files\Cache\Watcher for $this->watcher is always OC\Files\Cache\Watcher
@icewind1991 icewind1991 changed the title [30] Shared cache watcher update 30 [30] don't use cached root info from shared cache if the watcher has detected an update Feb 7, 2025
@icewind1991
Copy link
Member Author

#50761

@solracsf solracsf deleted the shared-cache-watcher-update-30 branch February 12, 2025 10:21
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