Eager loads routes and namespaces to avoid n+1 queries
New Merge Request page is performing badly on projects with lots of forks due to N+1 queries while generating forked projects list view. We should consider limiting the number of forked projects we load by paginating or ajax search instead at some point, but this fix will improve the situation for the time being.
Showing
Please register or sign in to comment