Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
5234dd8f91fe
Commit
7ba19ab6
authored
Aug 28, 2017
by
Jarka Kadlecova
Browse files
Instrument MergeRequest#ensure_ref_fetched
parent
d20cab6be7c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
changelogs/unreleased/36061-mr-ref.yml
0 → 100644
View file @
5234dd8f
---
title
:
Instrument MergeRequest#ensure_ref_fetched
merge_request
:
author
:
type
:
other
config/initializers/8_metrics.rb
View file @
5234dd8f
...
...
@@ -119,6 +119,9 @@ def instrument_classes(instrumentation)
# Needed for https://gitlab.com/gitlab-org/gitlab-ce/issues/30224#note_32306159
instrumentation
.
instrument_instance_method
(
MergeRequestDiff
,
:load_commits
)
# Needed for https://gitlab.com/gitlab-org/gitlab-ce/issues/36061
instrumentation
.
instrument_instance_method
(
MergeRequest
,
:ensure_ref_fetched
)
end
# rubocop:enable Metrics/AbcSize
...
...
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