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

EndpointQueryCountTest: allow a range for the number of queries on co… #5

Conversation

BacLuc
Copy link

@BacLuc BacLuc commented Dec 10, 2023

…ntent_node endpoints

With the ResponsiveLayout, we now have mostly ContentNodes which are nested by 2 levels: ColumnLayout -> DefaultLayout -> "Content Nodes with content" This may lead to n+1 db queries that we experienced in the EndpointQueryCountTest. This change now allows to define a range for the query count. This is good enough to keep the performance at the same level.

@manuelmeister
You can either merge this PR, or #4

…ntent_node endpoints

With the ResponsiveLayout, we now have mostly ContentNodes which are nested by 2 levels:
ColumnLayout -> DefaultLayout -> "Content Nodes with content"
This may lead to n+1 db queries that we experienced in the EndpointQueryCountTest.
This change now allows to define a range for the query count.
This is good enough to keep the performance at the same level.
@manuelmeister manuelmeister merged commit f409bee into manuelmeister:feature/new-flexlayout Dec 13, 2023
@BacLuc BacLuc deleted the separate-contentnode-querycount-tests branch December 23, 2023 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants