Sha256: c0ad05fabfe2f8273396d286b18a64dfe541b872f1e994bc2dd8c3b7b7af773e

Contents?: true

Size: 547 Bytes

Versions: 31

Compression:

Stored size: 547 Bytes

Contents

# frozen_string_literal: true

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.
  Worker = Job
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
sidekiq-7.3.8 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.3.7 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.3.6 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.3.5 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.3.4 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.3.3 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.3.2 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.3.1 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.3.0 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.2.4 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.2.3 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.2.2 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.2.1 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.2.0 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.1.6 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.1.5 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.1.4 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.1.3 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.1.2 lib/sidekiq/worker_compatibility_alias.rb
sidekiq-7.1.1 lib/sidekiq/worker_compatibility_alias.rb