about summary refs log tree commit diff
path: root/app/models/concerns/redisable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/redisable.rb')
-rw-r--r--app/models/concerns/redisable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/redisable.rb b/app/models/concerns/redisable.rb
index cce8efb86..8d76b6b82 100644
--- a/app/models/concerns/redisable.rb
+++ b/app/models/concerns/redisable.rb
@@ -6,6 +6,6 @@ module Redisable
   private
 
   def redis
-    Thread.current[:redis] ||= RedisConfiguration.new.connection
+    Thread.current[:redis] ||= RedisConfiguration.pool.checkout
   end
 end