Skip to content
Snippets Groups Projects
Commit f9334472 authored by Ahmad Sherif's avatar Ahmad Sherif
Browse files

Remove allow_n_plus_1 block from Network::Graph

Closes #37436
Closes gitaly#998
parent 41285af4
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -61,11 +61,8 @@ module Network
@reserved[i] = []
end
 
# n+1: https://gitlab.com/gitlab-org/gitlab-ce/issues/37436
Gitlab::GitalyClient.allow_n_plus_1_calls do
commits_sort_by_ref.each do |commit|
place_chain(commit)
end
commits_sort_by_ref.each do |commit|
place_chain(commit)
end
 
# find parent spaces for not overlap lines
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment