Sha256: 2d5d88660d30705c1951051b9b30f645907539772c13eccc1238a670118366e9

Contents?: true

Size: 162 Bytes

Versions: 1

Compression:

Stored size: 162 Bytes

Contents

module Sidekiq
  module PoolAccess
    def redis_pool
      Thread.current[:sidekiq_redis_pool] || (@redis ||= Sidekiq::RedisConnection.create)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-7.0.0.beta1 lib/sidekiq/pool.rb