Sha256: 39601bc871dde7d6b5dedb6a77f6c86977f481aca8444db2e615db987b270f9d
Contents?: true
Size: 475 Bytes
Versions: 14
Compression:
Stored size: 475 Bytes
Contents
require 'sidekiq' Inferno::Application.register_provider(:sidekiq) do prepare do if Inferno::Application['async_jobs'] Sidekiq.configure_server do |config| config.redis = { url: ENV.fetch('REDIS_URL', 'redis://127.0.0.1:6379/0') } config.capsule('validator_sessions') do |cap| cap.concurrency = ENV.fetch('VALIDATOR_SESSIONS_CONCURRENCY', '1').to_i cap.queues = ['validator_sessions'] end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems