Commit 7ba19ab6 authored by Jarka Kadlecova's avatar Jarka Kadlecova

Instrument MergeRequest#ensure_ref_fetched

parent 04c092b5
---
title: Instrument MergeRequest#ensure_ref_fetched
merge_request:
author:
type: other
......@@ -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
......
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