require worker_retries_exhausted_reporter in Sidekiq initializer (#6131) [deploy]

This commit is contained in:
Molly Struve 2020-02-18 07:56:11 -05:00 committed by GitHub
parent d0dd79ac29
commit 21d88399be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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