Commit b3679f76 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'fix/remove-allow-n-plus-1-from-network-graph' into 'master'

Remove allow_n_plus_1 block from Network::Graph

Closes #37436 and gitaly#998

See merge request gitlab-org/gitlab-ce!17087
parents 20079279 f9334472
...@@ -61,11 +61,8 @@ module Network ...@@ -61,11 +61,8 @@ module Network
@reserved[i] = [] @reserved[i] = []
end end
# n+1: https://gitlab.com/gitlab-org/gitlab-ce/issues/37436 commits_sort_by_ref.each do |commit|
Gitlab::GitalyClient.allow_n_plus_1_calls do place_chain(commit)
commits_sort_by_ref.each do |commit|
place_chain(commit)
end
end end
# find parent spaces for not overlap lines # find parent spaces for not overlap lines
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment