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