Skip to content

Conversation

@come-nc
Copy link
Contributor

@come-nc come-nc commented May 16, 2025

  • Resolves: #

Summary

This avoids getting all keys from appconfig, which was triggering loading of lazy configuration on all requests.
It should help a bit with performances when user_ldap is enabled.

Checklist

@come-nc come-nc added this to the Nextcloud 32 milestone May 16, 2025
@come-nc come-nc self-assigned this May 16, 2025
@come-nc come-nc added the 3. to review Waiting for reviews label May 16, 2025
@come-nc come-nc force-pushed the fix/cache-ldap-configuration-prefixes branch 2 times, most recently from dd79f10 to 1d0a101 Compare May 22, 2025 13:17
@come-nc come-nc marked this pull request as ready for review May 22, 2025 13:51
@come-nc come-nc requested a review from a team as a code owner May 22, 2025 13:51
@come-nc come-nc requested review from ArtificialOwl, blizzz, icewind1991, nfebe and provokateurin and removed request for a team May 22, 2025 13:51
come-nc added 3 commits June 10, 2025 16:08
…onfig

This avoids getting all keys from appconfig, which was triggering
 loading of lazy configuration on all requests.

Signed-off-by: Côme Chilliet <[email protected]>
…alls

Using OCP\AppFramework\Services\IAppConfig is not possible because the
 Helper is queried from places outside of the application DI container
(ajax pages, tests, other applications through ILDAPProviderFactory…)

Signed-off-by: Côme Chilliet <[email protected]>
Signed-off-by: Côme Chilliet <[email protected]>
@come-nc come-nc force-pushed the fix/cache-ldap-configuration-prefixes branch from 90269f3 to b9949b2 Compare June 10, 2025 14:08
@come-nc
Copy link
Contributor Author

come-nc commented Jun 12, 2025

CI failure unrelated, it’s the flaky files_sharing/note-to-recipient.cy.ts

Copy link
Contributor

@nfebe nfebe left a comment

Choose a reason for hiding this comment

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

🐘

@come-nc come-nc merged commit f314d93 into master Jun 19, 2025
258 of 272 checks passed
@come-nc come-nc deleted the fix/cache-ldap-configuration-prefixes branch June 19, 2025 09:57
@skjnldsv skjnldsv mentioned this pull request Aug 19, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
@come-nc come-nc modified the milestones: Nextcloud 33, Nextcloud 32 Oct 1, 2025
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.

6 participants