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.3.12 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.3.11 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.3.10 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.3.9 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.3.8 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.3.7 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.3.6 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.3.5 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.3.4 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.3.3 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.3.2 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.3.1 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.3.0 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.3.0.rc1 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.2.0 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.2.0.rc4 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.2.0.rc3 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.2.0.rc2 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.2.0.rc1 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.1.4.pre lib/inferno/config/boot/sidekiq.rb