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