https://github.com/mperham/sidekiq
Raw File
Tip revision: 62efdd1ba23c8cac5f6b7c715bc7d525323306bd authored by Mike Perham on 06 November 2021, 17:52:37 UTC
release
Tip revision: 62efdd1
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