Module: Sidekiq::Worker::Overrides
- Included in:
- Sidekiq::Worker
- Defined in:
- lib/sidekiq_unique_jobs/testing.rb
Overview
Prepends deletion of locks to clear_all
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#sidekiq_options(options = {}) ⇒ void
Overrides sidekiq_options on the worker class to prepend validation.
Instance Method Details
#sidekiq_options(options = {}) ⇒ void
This method returns an undefined value.
Overrides sidekiq_options on the worker class to prepend validation
87 88 89 90 91 |
# File 'lib/sidekiq_unique_jobs/testing.rb', line 87 def ( = {}) SidekiqUniqueJobs.validate_worker!() if SidekiqUniqueJobs.config.raise_on_config_error super() end |