Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f9334472
Commit
f9334472
authored
Feb 13, 2018
by
Ahmad Sherif
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove allow_n_plus_1 block from Network::Graph
Closes #37436 Closes gitaly#998
parent
41285af4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
app/models/network/graph.rb
app/models/network/graph.rb
+2
-5
No files found.
app/models/network/graph.rb
View file @
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment