diff options
Diffstat (limited to 'lib/gitlab/patch/redis_cache_store.rb')
-rw-r--r-- | lib/gitlab/patch/redis_cache_store.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/gitlab/patch/redis_cache_store.rb b/lib/gitlab/patch/redis_cache_store.rb index 041cb2d44bd..ea6e1f11bc9 100644 --- a/lib/gitlab/patch/redis_cache_store.rb +++ b/lib/gitlab/patch/redis_cache_store.rb @@ -44,11 +44,7 @@ module Gitlab values = failsafe(:patched_read_multi_mget, returning: {}) do redis.with do |c| - if c.is_a?(Gitlab::Redis::MultiStore) - c.with_readonly_pipeline { pipeline_mget(c, keys) } - else - pipeline_mget(c, keys) - end + pipeline_mget(c, keys) end end |