Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
a2b2a11c6fb9
Commit
feb1c6fa
authored
Feb 07, 2018
by
Zeger-Jan van de Weg
Browse files
Let CI catch N + 1 calls
parent
33199b35142a
Changes
1
Show whitespace changes
Inline
Side-by-side
app/controllers/projects/merge_requests_controller.rb
View file @
a2b2a11c
...
...
@@ -50,11 +50,8 @@ def show
set_pipeline_variables
# n+1: https://gitlab.com/gitlab-org/gitlab-ce/issues/37432
Gitlab
::
GitalyClient
.
allow_n_plus_1_calls
do
render
end
end
format
.
json
do
Gitlab
::
PollingInterval
.
set_header
(
response
,
interval:
10_000
)
...
...
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