diff options
Diffstat (limited to 'lib/gitlab/etag_caching/store.rb')
-rw-r--r-- | lib/gitlab/etag_caching/store.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/gitlab/etag_caching/store.rb b/lib/gitlab/etag_caching/store.rb index f36a7a0603c..5fdf5ac9436 100644 --- a/lib/gitlab/etag_caching/store.rb +++ b/lib/gitlab/etag_caching/store.rb @@ -31,9 +31,7 @@ module Gitlab private def with_redis(&blk) - # We use multistore as n interweaving double-write will result in n-1 subsequent requests - # becoming a cache-miss, however, 2 interweaving .touch will lead to 1 cache miss anyway. - Gitlab::Redis::EtagCache.with(&blk) # rubocop:disable CodeReuse/ActiveRecord + Gitlab::Redis::Cache.with(&blk) # rubocop:disable CodeReuse/ActiveRecord end def generate_etag |