Sha256: 50a8e6ccc1f7ed1ffec3ee5288dd063e75ed5f56d1f4652b7ad42af0d56ffb54

Contents?: true

Size: 248 Bytes

Versions: 5

Compression:

Stored size: 248 Bytes

Contents

sidekiq_config = {
    url:       ENV['CACHE_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

5 entries across 5 versions & 1 rubygems

Version Path
orats-0.9.3 lib/orats/templates/includes/new/rails/config/initializers/sidekiq.rb
orats-0.9.2 lib/orats/templates/includes/new/rails/config/initializers/sidekiq.rb
orats-0.9.1 lib/orats/templates/includes/new/rails/config/initializers/sidekiq.rb
orats-0.9.0 lib/orats/templates/includes/new/rails/config/initializers/sidekiq.rb
orats-0.8.1 lib/orats/templates/includes/new/rails/config/initializers/sidekiq.rb