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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
7ccef75a
Commit
7ccef75a
authored
Aug 28, 2017
by
Sean McGivern
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '36061-mr-ref' into 'master'
Instrument MergeRequest#ensure_ref_fetched See merge request !13876
parents
7dbb8678
7ba19ab6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
changelogs/unreleased/36061-mr-ref.yml
changelogs/unreleased/36061-mr-ref.yml
+5
-0
config/initializers/8_metrics.rb
config/initializers/8_metrics.rb
+3
-0
No files found.
changelogs/unreleased/36061-mr-ref.yml
0 → 100644
View file @
7ccef75a
---
title
:
Instrument MergeRequest#ensure_ref_fetched
merge_request
:
author
:
type
:
other
config/initializers/8_metrics.rb
View file @
7ccef75a
...
...
@@ -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