Skip to content

Eager load namespace owners for project dashboards

yorickpeterse-staging requested to merge dashboards-projects-controller into master

What does this MR do?

This fixes an N+1 query problem in Dashboard::ProjectsController where we'd query the owner of a namespace separately.

This fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/27376 (at least for the time being) since I don't see any other improvements we can make that are specific to this page.

Does this MR meet the acceptance criteria?

Edited by username-removed-128633

Merge request reports

Loading