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.35 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.34 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.33 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.32 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.31 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.30 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.29 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.28 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.27 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.26 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.25 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.24 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.23 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.22 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.21 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.20 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.19 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.18 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.17 lib/inferno/config/boot/sidekiq.rb
inferno_core-0.4.16 lib/inferno/config/boot/sidekiq.rb