Class: QPush::RedisPool
- Inherits:
-
Object
- Object
- QPush::RedisPool
- Defined in:
- lib/qpush/redis.rb
Class Method Summary collapse
Class Method Details
.create ⇒ Object
15 16 17 18 19 |
# File 'lib/qpush/redis.rb', line 15 def self.create ::ConnectionPool.new(size: QPush.config.redis_pool) do ::Redis.new(url: QPush.config.redis_url) end end |