Commit graph

2 commits

Author SHA1 Message Date
Nick Thomas
8973f32d42
Remove cleaned up OIDs from database and cache 2019-05-06 11:35:03 +01:00
Oswaldo Ferreira
7cf4947792 Cache diff highlight in discussions
This commit handles note diffs caching, which considerably improves
the performance on merge requests with lots of comments.
Important to note that the caching approach taken here is different
from `Gitlab::Diff::HighlightCache`. We do not reset the whole cache
when a new push is sent or anything else. That's because discussions
diffs are persisted and do not change.
2018-12-21 16:59:21 -02:00