bcfff6519 ^
7b0fe4aef ^
6cf57c676 ^
1 2 3
4
5
6
7 8 9 10
11
# frozen_string_literal: true module Redisable def redis Thread.current[:redis] ||= RedisConfiguration.pool.checkout end def with_redis(&block) RedisConfiguration.with(&block) end end