Commit 7ccef75a authored by Sean McGivern's avatar Sean McGivern

Merge branch '36061-mr-ref' into 'master'

Instrument MergeRequest#ensure_ref_fetched

See merge request !13876
parents 7dbb8678 7ba19ab6
---
title: Instrument MergeRequest#ensure_ref_fetched
merge_request:
author:
type: other
...@@ -119,6 +119,9 @@ def instrument_classes(instrumentation) ...@@ -119,6 +119,9 @@ def instrument_classes(instrumentation)
# Needed for https://gitlab.com/gitlab-org/gitlab-ce/issues/30224#note_32306159 # Needed for https://gitlab.com/gitlab-org/gitlab-ce/issues/30224#note_32306159
instrumentation.instrument_instance_method(MergeRequestDiff, :load_commits) 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 end
# rubocop:enable Metrics/AbcSize # rubocop:enable Metrics/AbcSize
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment