Sha256: 53647ae3da2d5b1413752e2f1f1979492934055d4ac3bad673fbecdd86afc474

Contents?: true

Size: 249 Bytes

Versions: 4

Compression:

Stored size: 249 Bytes

Contents

sidekiq_config = {
  url:       ENV['BACKGROUND_URL'],
  namespace: "ns_app::sidekiq_#{Rails.env}"
}

Sidekiq.configure_server do |config|
  config.redis = sidekiq_config
end

Sidekiq.configure_client do |config|
  config.redis = sidekiq_config
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
orats-0.9.7 lib/orats/templates/includes/new/rails/config/initializers/sidekiq.rb
orats-0.9.6 lib/orats/templates/includes/new/rails/config/initializers/sidekiq.rb
orats-0.9.5 lib/orats/templates/includes/new/rails/config/initializers/sidekiq.rb
orats-0.9.4 lib/orats/templates/includes/new/rails/config/initializers/sidekiq.rb