From b0dd99b58469957b6c2b9d54e788231a973ff50b Mon Sep 17 00:00:00 2001 From: Andrew Newdigate Date: Fri, 22 Sep 2017 17:31:17 +0100 Subject: Added a reference to the technical debt --- lib/gitlab/data_builder/push.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/gitlab/data_builder/push.rb b/lib/gitlab/data_builder/push.rb index 2799cfaa27c..31a46a738c3 100644 --- a/lib/gitlab/data_builder/push.rb +++ b/lib/gitlab/data_builder/push.rb @@ -64,6 +64,7 @@ module Gitlab # For performance purposes maximum 20 latest commits # will be passed as post receive hook data. + # n+1: https://gitlab.com/gitlab-org/gitlab-ce/issues/38259 commit_attrs = Gitlab::GitalyClient.allow_n_plus_1_calls do commits_limited.map do |commit| commit.hook_attrs(with_changed_files: true) -- cgit v1.2.1