Don't autoload in initializers: SidekiqErrorHandler

DEPRECATION WARNING: Initialization autoloaded the constant
SidekiqErrorHandler.
This commit is contained in:
rubic0n 2021-01-31 17:24:37 -06:00
parent 497ec0c1db
commit 8c018b8088
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
# frozen_string_literal: true
require_relative '../../app/lib/sidekiq_error_handler'
namespace = ENV.fetch('REDIS_NAMESPACE') { nil }
redis_params = { url: ENV['REDIS_URL'] }