Class: ActiveHook::ConnectionPool
- Inherits:
-
Object
- Object
- ActiveHook::ConnectionPool
- Defined in:
- lib/activehook/redis.rb
Class Method Summary collapse
Class Method Details
.create ⇒ Object
11 12 13 14 15 |
# File 'lib/activehook/redis.rb', line 11 def self.create ::ConnectionPool.new(size: ActiveHook.config.redis_pool) do Redis.new(url: ActiveHook.config.redis_url) end end |