diff options
author | Sean McGivern <sean@gitlab.com> | 2016-08-31 17:04:51 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-08-31 17:12:31 +0300 |
commit | 52ab33a3fa1bd31e8e01ea8b9c89d8c08dbeff82 (patch) | |
tree | 102558fd8310b4161cde7afe6686492f9166189d /CHANGELOG | |
parent | ee61c4037e5e85df8fb9e45a96df68fb0625c605 (diff) |
Expire commit view partial after a day
We rarely use Russian-doll caching in views, and when we do, it's
typically with a naturally-invalidating key. In the case of the commit
partial, though, the author lookup isn't part of the cache key - because
we're not going to use the state of the users table - and so a new email
address can take up to two weeks to show against the commits list.
Limiting this to a day still caches the partial for a healthy amount of
time, without as bad a worst case scenario.
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG index 7941a29d4ed..f36ab3b2b21 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -30,6 +30,7 @@ v 8.12.0 (unreleased) - Added tests for diff notes - Add a button to download latest successful artifacts for branches and tags !5142 - Remove redundant pipeline tooltips (ClemMakesApps) + - Expire commit info views after one day, instead of two weeks, to allow for user email updates - Add delimiter to project stars and forks count (ClemMakesApps) - Fix badge count alignment (ClemMakesApps) - Fix branch title trailing space on hover (ClemMakesApps) |