gitlab-org--gitlab-foss/changelogs/unreleased/sh-cache-root-ref-asymetrically.yml
Stan Hu 0f7ed33759 Cache Repository#root_ref within a request
When an empty project is loaded in the UI, there are 15 separate Gitaly
FindDefaultBranch calls to determine the root_ref. Previously, it was
not cached even within the request. This change caches it within the
request so only a single FindDefaultBranch RPC is needed.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58684
2019-03-12 09:03:38 -07:00

5 lines
101 B
YAML

---
title: Cache Repository#root_ref within a request
merge_request: 25903
author:
type: performance