Class: Wurk::Web::PoolScope::Handle
- Inherits:
-
Object
- Object
- Wurk::Web::PoolScope::Handle
- Defined in:
- lib/wurk/web/pool_scope.rb
Overview
Minimal capsule-shaped duck type: Wurk.redis_pool only ever calls
#redis_pool on the thread-local. Resolved lazily so a post-fork
reset_redis_pools! rebuild is picked up transparently.
Instance Method Summary collapse
Instance Method Details
#redis_pool ⇒ Object
40 41 42 |
# File 'lib/wurk/web/pool_scope.rb', line 40 def redis_pool Wurk.configuration.web_redis_pool end |