Revert "Merge branch 'zj-n-1-root-show' into 'master'"
This reverts merge request !16968
This commit is contained in:
parent
07fc0ea756
commit
185f567d58
|
@ -13,8 +13,11 @@ class RootController < Dashboard::ProjectsController
|
||||||
before_action :redirect_logged_user, if: -> { current_user.present? }
|
before_action :redirect_logged_user, if: -> { current_user.present? }
|
||||||
|
|
||||||
def index
|
def index
|
||||||
|
# n+1: https://gitlab.com/gitlab-org/gitlab-ce/issues/37434
|
||||||
|
Gitlab::GitalyClient.allow_n_plus_1_calls do
|
||||||
super
|
super
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue