Commit 9f4e1209 authored by Kerri Miller's avatar Kerri Miller Committed by Lin Jen-Shin

Enable redis diff caching by default

parent 532050c7
---
title: Enable redis HSET diff caching by default
merge_request: 23105
author:
type: performance
......@@ -47,7 +47,7 @@ module Gitlab
private
def cache
@cache ||= if Feature.enabled?(:hset_redis_diff_caching, project)
@cache ||= if Feature.enabled?(:hset_redis_diff_caching, project, default_enabled: true)
Gitlab::Diff::HighlightCache.new(self)
else
Gitlab::Diff::DeprecatedHighlightCache.new(self)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment