Module: Sidekiq::Job::Options

Defined in:
lib/sidekiq/job.rb

Overview

The Options module is extracted so we can include it in ActiveJob::Base and allow native AJs to configure Sidekiq features/internals.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



49
50
51
52
53
54
# File 'lib/sidekiq/job.rb', line 49

def self.included(base)
  base.extend(ClassMethods)
  base.sidekiq_class_attribute :sidekiq_options_hash
  base.sidekiq_class_attribute :sidekiq_retry_in_block
  base.sidekiq_class_attribute :sidekiq_retries_exhausted_block
end