https://github.com/mperham/sidekiq
Raw File
Tip revision: 7003aeb6336d3fdaed27f7444998a5891aef8f1b authored by Mike Perham on 05 August 2022, 19:11:16 UTC
change
Tip revision: 7003aeb
job.rb
require "sidekiq/worker"

module Sidekiq
  # Sidekiq::Job is a new alias for Sidekiq::Worker as of Sidekiq 6.3.0.
  # Use `include Sidekiq::Job` rather than `include Sidekiq::Worker`.
  #
  # The term "worker" is too generic and overly confusing, used in several
  # different contexts meaning different things. Many people call a Sidekiq
  # process a "worker". Some people call the thread that executes jobs a
  # "worker". This change brings Sidekiq closer to ActiveJob where your job
  # classes extend ApplicationJob.
  Job = Worker
end
back to top