Retrospring/config/initializers/15_sidekiq.rb

7 lines
182 B
Ruby

Sidekiq.configure_server do |config|
config.redis = { url: APP_CONFIG['redis_url'] }
end
Sidekiq.configure_client do |config|
config.redis = { url: APP_CONFIG['redis_url'] }
end