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.1.3 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.1.3.pre2 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.1.3.pre lib/inferno/config/boot/sidekiq.rb
inferno_core-0.1.2 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.1.2.pre lib/inferno/config/boot/sidekiq.rb
inferno_core-0.1.1 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.1.1.pre lib/inferno/config/boot/sidekiq.rb
inferno_core-0.1.0 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.1.0.pre lib/inferno/config/boot/sidekiq.rb
inferno_core-0.0.8 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.0.8.pre2 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.0.8.pre lib/inferno/config/boot/sidekiq.rb
inferno_core-0.0.7 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.0.6 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.0.5 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.0.4 lib/inferno/config/boot/sidekiq.rb