Sha256: 08550d25799d479f3acd5df6e14ba8e4586d6b7d7fa0a9ca00e8a16f84836656

Contents?: true

Size: 205 Bytes

Versions: 5

Compression:

Stored size: 205 Bytes

Contents

module SidekiqUniqueJobs
  module Connectors
    class RedisPool
      def self.conn(redis_pool = nil)
        return if redis_pool.nil?
        redis_pool.with { |conn| conn }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-3.0.10 lib/sidekiq_unique_jobs/connectors/redis_pool.rb
sidekiq-unique-jobs-3.0.9 lib/sidekiq_unique_jobs/connectors/redis_pool.rb
sidekiq-unique-jobs-3.0.8 lib/sidekiq_unique_jobs/connectors/redis_pool.rb
sidekiq-unique-jobs-3.0.7 lib/sidekiq_unique_jobs/connectors/redis_pool.rb
sidekiq-unique-jobs-3.0.5 lib/sidekiq_unique_jobs/connectors/redis_pool.rb