Skip to content

Fix N+1 in /projects REST endpoint

Francisco Javier López requested to merge 21121-fj-fix-n+1-in-projects into master

What does this MR do?

In this MR we are fixing two N+1 in the /projects REST endpoint that are really coupled together.

The first one is with saml_providers. This is the look of the query regarding that field before:

Saml_providers_ANTERIOR

While after fixing the N+1 is:

Saml_providers_DESPUES

The other field is namespace_settings. The request before is:

Screenshot_2021-03-29_at_19.08.23

While after the fix is:

image

Does this MR meet the acceptance criteria?

Conformity

Related to #21121 (closed)

Edited by Francisco Javier López

Merge request reports

Loading