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

perf(bootstrap): Lazy register template creator through event #5717

Merged
merged 1 commit into from
May 6, 2024

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Apr 22, 2024

Requires nextcloud/server#44952

This will avoid triggering dependency injection queries during app bootstrap for every request.

Copy link
Collaborator

@max-nextcloud max-nextcloud left a comment

Choose a reason for hiding this comment

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

Approach seems good - for what i understand. Linter and Static check still failing.

Comment on lines 5 to 7
* @copyright Copyright (c) 2020 Morris Jobke <[email protected]>
*
* @author Morris Jobke <[email protected]>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Probably outdated, right?

We might also start using the SPDX headers right away when adding new files.

Copy link
Member Author

Choose a reason for hiding this comment

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

Adjusted the copyright, but would rather keep moving to SPDX separate and do it with the migration script from Joas then for all files

@hweihwang
Copy link

Looks good, smart take on deferring the template creator setup until it is actually needed

@juliusknorr juliusknorr merged commit 79521ab into main May 6, 2024
62 checks passed
@juliusknorr juliusknorr deleted the perf/lazy-template-creator branch May 6, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants