Commit 93fa6503 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'kerrizor/enable-redis-diff-caching-by-default' into 'master'

Enable redis diff caching by default

See merge request gitlab-org/gitlab!23105
parents 532050c7 9f4e1209
---
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