Resolve "Reduce Redis usage from merge request diffs caching"
All threads resolved!
Compare changes
Files
7- Sean McGivern authored
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.
+ 2
− 2
@@ -580,8 +580,8 @@ def reload_diff(current_user = nil)