Don't autoload in initializers: SidekiqErrorHandler
DEPRECATION WARNING: Initialization autoloaded the constant SidekiqErrorHandler.
This commit is contained in:
parent
497ec0c1db
commit
8c018b8088
|
@ -1,5 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require_relative '../../app/lib/sidekiq_error_handler'
|
||||||
|
|
||||||
namespace = ENV.fetch('REDIS_NAMESPACE') { nil }
|
namespace = ENV.fetch('REDIS_NAMESPACE') { nil }
|
||||||
redis_params = { url: ENV['REDIS_URL'] }
|
redis_params = { url: ENV['REDIS_URL'] }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue