Commit 7a659da0 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'cache-ref-names-in-discussion-endpoint' into 'master'

Allow Gitaly ref name caching for issue discussions

See merge request gitlab-org/gitlab!22244
parents bb1539bc 707c1201
......@@ -46,6 +46,8 @@ class Projects::IssuesController < Projects::ApplicationController
push_frontend_feature_flag(:vue_issuable_sidebar, project.group)
end
around_action :allow_gitaly_ref_name_caching, only: [:discussions]
respond_to :html
alias_method :designs, :show
......
---
title: Reduce Gitaly calls needed for issue discussions
merge_request:
author:
type: performance
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