Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[stable31] perf(sharing): Avoid loading all shares from all users when unsharing#58662

Draft
backportbot[bot] wants to merge 2 commits intostable31from
backport/58057/stable31
Draft

[stable31] perf(sharing): Avoid loading all shares from all users when unsharing#58662
backportbot[bot] wants to merge 2 commits intostable31from
backport/58057/stable31

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Mar 2, 2026

Backport of #58057

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

First check which users have a shares and for which providers and then
only load these shares.

Avoid doing at most 5 SQL queries for each users a share was shared with if
there are no shares.

Signed-off-by: Carl Schwan <[email protected]>
@CarlSchwan CarlSchwan force-pushed the backport/58057/stable31 branch from fe1292b to 11f2091 Compare March 2, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant