Skip to content

Conversation

@icewind1991
Copy link
Member

Fixes to broad preloading logic introduced with #39694

  • Only preload when Depth = 1, this stops preloading for the children of sub-folders
  • Don't trigger preload logic when no metadata is requested.

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Aug 14, 2023
@icewind1991 icewind1991 added this to the Nextcloud 28 milestone Aug 14, 2023
@icewind1991 icewind1991 requested review from a team, ArtificialOwl, blizzz and nfebe and removed request for a team August 14, 2023 11:01
@icewind1991 icewind1991 marked this pull request as ready for review August 14, 2023 12:10
@icewind1991 icewind1991 merged commit 6f6e244 into master Aug 16, 2023
@icewind1991 icewind1991 deleted the metadata-dont-preload-subfolders branch August 16, 2023 15:14
@icewind1991
Copy link
Member Author

/backport to stable27

@pulsejet
Copy link
Member

This patch cut down my SQL requests to half 👀
Should've been labelled Performance 🚀😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants