James Rose
2 years ago
committed by
GitHub
4 changed files with 21 additions and 3 deletions
@ -0,0 +1,11 @@ |
|||||||
|
if Rails.env.staging? || Rails.env.production? |
||||||
|
redis_url = Configuration::PaasConfigurationService.new.redis_uris[:"dluhc-core-#{Rails.env}-redis"] |
||||||
|
|
||||||
|
Sidekiq.configure_server do |config| |
||||||
|
config.redis = { url: redis_url } |
||||||
|
end |
||||||
|
|
||||||
|
Sidekiq.configure_client do |config| |
||||||
|
config.redis = { url: redis_url } |
||||||
|
end |
||||||
|
end |
Loading…
Reference in new issue