Merge branch 'revert-828357fb' into 'master'
Revert "Merge branch 'zj-n-1-root-show' into 'master'" See merge request gitlab-org/gitlab-ce!17243
This commit is contained in:
commit
644566041c
1 changed files with 4 additions and 1 deletions
|
@ -13,7 +13,10 @@ class RootController < Dashboard::ProjectsController
|
|||
before_action :redirect_logged_user, if: -> { current_user.present? }
|
||||
|
||||
def index
|
||||
super
|
||||
# n+1: https://gitlab.com/gitlab-org/gitlab-ce/issues/37434
|
||||
Gitlab::GitalyClient.allow_n_plus_1_calls do
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue