Fix N+1 queries for PipelinesController#index.json
For pipelines with merge requests, we need to preload the source and target branches and associated routes to avoid N+1 SQL queries. Closes https://gitlab.com/gitlab-org/gitlab/-/issues/207194
Showing
Please register or sign in to comment