summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-06-22 11:05:17 -0700
committerStan Hu <stanhu@gmail.com>2019-06-22 11:31:34 -0700
commit3016719338e3cab69891198510e16e1fe4b6b3a1 (patch)
treed03c12f34c894b16bf64db81a944110c6007c0fc /changelogs
parent76f49de4e772c4101bcb8df801ad9b7a78adcea7 (diff)
downloadgitlab-ce-3016719338e3cab69891198510e16e1fe4b6b3a1.tar.gz
Enable Gitaly ref name caching for discussions.jsonsh-enable-ref-name-caching-discussions
This eliminates many potential duplicate FindCommit RPCs for the same ref, which often occurs in the RelativeLinkFilter#current_commit call. On the GitLab 12.0 release post, for example, this would save close to 400 RPC calls.
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/sh-enable-ref-name-caching-discussions.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-enable-ref-name-caching-discussions.yml b/changelogs/unreleased/sh-enable-ref-name-caching-discussions.yml
new file mode 100644
index 00000000000..12f4a5a499d
--- /dev/null
+++ b/changelogs/unreleased/sh-enable-ref-name-caching-discussions.yml
@@ -0,0 +1,5 @@
+---
+title: Enable Gitaly ref name caching for discussions.json
+merge_request: 29951
+author:
+type: performance