Sha256: 7b63bdb92c2fd377833d6c5299771c9b693365183dba2766e9c358e5c35bebc9

Contents?: true

Size: 264 Bytes

Versions: 76

Compression:

Stored size: 264 Bytes

Contents

require 'sidekiq'

Inferno::Application.boot(:sidekiq) do
  init 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') }
      end
    end
  end
end

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
inferno_core-0.4.15 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.14 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.13 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.12 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.11 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.10 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.9 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.8 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.7 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.7.pre lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.6 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.5 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.4 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.3 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.2 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.2.pre lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.1 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.1.pre2 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.1.pre lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.0 lib/inferno/config/boot/sidekiq.rb