summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2018-03-14 16:03:10 +0000
committerSean McGivern <sean@gitlab.com>2018-03-15 11:49:53 +0000
commit6cd7f679d065e08f58d6dc9e2debf4f1a9cbcbe1 (patch)
tree4604c6844e21e61417e2ba7b815f6ac46ad35937 /changelogs
parentfeb95ce3412ae3ab8b2c990b8ddf64d8d8945670 (diff)
downloadgitlab-ce-6cd7f679d065e08f58d6dc9e2debf4f1a9cbcbe1.tar.gz
Only cache highlight results for latest MR diffs
Previously, we kept them all in the cache. We don't need the highlight results for older diffs - if someone does view that (which is rare), we can do the highlighting on the fly.
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/44191-reduce-redis-usage-from-merge-request-diffs-caching.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/44191-reduce-redis-usage-from-merge-request-diffs-caching.yml b/changelogs/unreleased/44191-reduce-redis-usage-from-merge-request-diffs-caching.yml
new file mode 100644
index 00000000000..8fdca6eec83
--- /dev/null
+++ b/changelogs/unreleased/44191-reduce-redis-usage-from-merge-request-diffs-caching.yml
@@ -0,0 +1,5 @@
+---
+title: Stop caching highlighted diffs in Redis unnecessarily
+merge_request: 17746
+author:
+type: performance