require worker_retries_exhausted_reporter in Sidekiq initializer (#6131) [deploy]
This commit is contained in:
parent
d0dd79ac29
commit
21d88399be
1 changed files with 2 additions and 0 deletions
|
|
@ -15,6 +15,8 @@ module Rack
|
|||
end
|
||||
end
|
||||
|
||||
require Rails.root.join("lib/sidekiq/worker_retries_exhausted_reporter")
|
||||
|
||||
Sidekiq.configure_server do |config|
|
||||
sidekiq_url = ApplicationConfig["REDIS_SIDEKIQ_URL"] || ApplicationConfig["REDIS_URL"]
|
||||
# On Heroku this configuration is overridden and Sidekiq will point at the redis
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue