Skip to content

Conversation

@skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Sep 22, 2022

Partial fix for #1238

  1. When propfind on the /remote.php/dav/photos/admin/albums/
    We used to fetch all albums WITH files. That meant fetching literally ALL the files in all albums for a specific user, so it will quickly get expensive
  2. I moved the files cache on a per-album basis instead of on an album-root initialisation

Advice welcome, we should also have psalm somewhere here! 🙈 @CarlSchwan

@skjnldsv skjnldsv added 3. to review Waiting for reviews performance 🚀 Performance issues and optimisations labels Sep 22, 2022
@skjnldsv skjnldsv added this to the Nextcloud 25 milestone Sep 22, 2022
@skjnldsv skjnldsv requested review from a team, artonge and icewind1991 September 22, 2022 14:55
@skjnldsv skjnldsv self-assigned this Sep 22, 2022
@skjnldsv skjnldsv requested review from PVince81 and juliusknorr and removed request for a team September 22, 2022 14:55
Copy link
Collaborator

@artonge artonge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other endpoints have probably the same issue. Let's merge this one and see later for the others

@blizzz blizzz mentioned this pull request Sep 22, 2022
2 tasks
@blizzz blizzz modified the milestones: Nextcloud 25, Nextcloud 26 Sep 22, 2022
@blizzz
Copy link
Member

blizzz commented Sep 22, 2022

/backport to stable25

@skjnldsv skjnldsv merged commit ee4c0d6 into master Sep 23, 2022
@skjnldsv skjnldsv deleted the feat/perf-albums branch September 23, 2022 08:56
@backportbot-nextcloud backportbot-nextcloud bot added the backport-request Pending backport by the backport-bot label Sep 23, 2022
@backportbot-nextcloud backportbot-nextcloud bot removed the backport-request Pending backport by the backport-bot label Sep 23, 2022
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 performance 🚀 Performance issues and optimisations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants