mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
remove 6.x deprecations
This commit is contained in:
parent
707e18c213
commit
f632b46235
2 changed files with 1 additions and 9 deletions
|
@ -49,7 +49,6 @@ module Sidekiq
|
|||
end
|
||||
|
||||
def_delegators :@options, :[], :[]=, :fetch, :key?, :has_key?, :merge!
|
||||
attr_reader :options
|
||||
attr_reader :capsules
|
||||
|
||||
# LEGACY: edits the default capsule
|
||||
|
|
|
@ -22,7 +22,7 @@ module Sidekiq
|
|||
|
||||
# By including the Options module, we allow AJs to directly control sidekiq features
|
||||
# via the *sidekiq_options* class method and, for instance, not use AJ's retry system.
|
||||
# AJ retries don't show up in the Sidekiq UI Retries tab, save any error data, can't be
|
||||
# AJ retries don't show up in the Sidekiq UI Retries tab, don't save any error data, can't be
|
||||
# manually retried, don't automatically die, etc.
|
||||
#
|
||||
# class SomeJob < ActiveJob::Base
|
||||
|
@ -48,13 +48,6 @@ module Sidekiq
|
|||
end
|
||||
end
|
||||
|
||||
config.before_configuration do
|
||||
dep = ActiveSupport::Deprecation.new("7.0", "Sidekiq")
|
||||
dep.deprecate_methods(Sidekiq.singleton_class,
|
||||
default_worker_options: :default_job_options,
|
||||
"default_worker_options=": :default_job_options=)
|
||||
end
|
||||
|
||||
# This hook happens after all initializers are run, just before returning
|
||||
# from config/environment.rb back to sidekiq/cli.rb.
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue