Codeminer42/cm42-central

View on GitHub
config/initializers/sidekiq.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'sidekiq'

Sidekiq::Extensions.enable_delay!

Sidekiq.configure_client do |config|
  config.redis = { url: ENV["REDISCLOUD_URL"], size: 1 }
end

Sidekiq.configure_server do |config|
  config.redis = { url: ENV["REDISCLOUD_URL"] }
end