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

Reduce call get available sites for TYPO3 12.4 #4154

Open
wants to merge 5 commits into
base: release-12.0.x
Choose a base branch
from

Conversation

sfroemkenjw
Copy link
Collaborator

What this pr does?

Use PHP generator with yield to process just the available sites needed
How to test

With over 300 root pages it needs over 30 seconds to build up all available sites. With help of a PHP generator we can stop processing all available sites if just the first site is requested. It's also helpful to just check, if there are available sites.

This should speed up performance a lot.

@sfroemkenjw
Copy link
Collaborator Author

Related to PR: #4145

@dkd-kaehm
Copy link
Collaborator

@sfroemkenjw
Thanks for resolving that issue.
Please squash to single commit.

@sfroemkenjw
Copy link
Collaborator Author

sfroemkenjw commented Sep 20, 2024

Hi @dkd-kaehm

I don't understand. After your approval you will get 3 options to merge my PR: Merge, Rebase and Squash. In TYPO3 docs team we always work this way. I have no clue how to squash commits on my side.

Stefan

@dkd-kaehm
Copy link
Collaborator

OK I'll do the squash.
I have a question on one change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants