Skip to content

Remove Gitaly N+1 exception for dashboards

Thong Kuah requested to merge remove_dashboard_n_1_exception into master

What does this MR do?

Removes the n+1 exception for Dashboards::ProjectsController. It seems the work done in #20190 (closed) has reduced the amount of Gitaly calls to below the limit. I'm seeing 17 calls in my local GDK and 0 on GitLab.com (probably because of !22029 (merged))

/cc @engwan

Screenshot

Screenshot of dashboard page plus performance bar for this MR:

Screen_Shot_2020-06-02_at_4.22.07_PM

Edited by 🤖 GitLab Bot 🤖

Merge request reports