diff options
Diffstat (limited to 'lib/gitlab/redis/wrapper.rb')
-rw-r--r-- | lib/gitlab/redis/wrapper.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/gitlab/redis/wrapper.rb b/lib/gitlab/redis/wrapper.rb index c1f346ec7e4..bb231eec226 100644 --- a/lib/gitlab/redis/wrapper.rb +++ b/lib/gitlab/redis/wrapper.rb @@ -30,7 +30,7 @@ module Gitlab end def pool - @pool ||= ConnectionPool.new(size: pool_size) { redis } + @pool ||= ConnectionPool.new(size: pool_size, name: store_name.underscore) { redis } end def pool_size @@ -83,8 +83,6 @@ module Gitlab "::Gitlab::Instrumentation::Redis::#{store_name}".constantize end - private - def redis ::Redis.new(params) end |