diff options
author | Robert Speicher <robert@gitlab.com> | 2016-07-10 19:53:02 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2016-07-10 19:53:02 +0000 |
commit | 49df1f27ba00fe1035a5c950a47046ec34c75bda (patch) | |
tree | 54851e9a4eff18bc1af372a2aa3327f29940d46d /CHANGELOG | |
parent | 92772f85c1c68858b962b4934f3c5ee2e0849c14 (diff) | |
parent | 9ac4c556eac857fc285838070ffc24650a1bab44 (diff) | |
download | gitlab-ce-49df1f27ba00fe1035a5c950a47046ec34c75bda.tar.gz |
Merge branch 'reuse-queries-in-reference-parsers' into 'master'
Re-use queries in reference parsers
This MR changes the reference parsing pipeline to cache queried objects and re-use them on subsequent runs. Data is cached in the `RequestStore` module so it's automatically flushed after a request.
Certain references are processed multiple times. For example, for every system note we check if it's a cross reference by getting the issues, MRs and commits it references. When redacting data we may end up querying these very same objects. By caching this we can quite drastically reduce timings and SQL query counts.
#15607
See merge request !5020
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG index 3e4a10bb5a3..3188ff68f56 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -20,6 +20,7 @@ v 8.10.0 (unreleased) - Add Spring EmojiOne updates. - Fix viewing notification settings when a project is pending deletion - Fix pagination when sorting by columns with lots of ties (like priority) + - The Markdown reference parsers now re-use query results to prevent running the same queries multiple times !5020 - Updated project header design - Exclude email check from the standard health check - Updated layout for Projects, Groups, Users on Admin area !4424 |