diff options
author | Sean McGivern <sean@gitlab.com> | 2018-03-14 16:03:10 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2018-03-15 11:49:53 +0000 |
commit | 6cd7f679d065e08f58d6dc9e2debf4f1a9cbcbe1 (patch) | |
tree | 4604c6844e21e61417e2ba7b815f6ac46ad35937 /changelogs | |
parent | feb95ce3412ae3ab8b2c990b8ddf64d8d8945670 (diff) | |
download | gitlab-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.yml | 5 |
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 |