Sha256: bf387417174f07dc37db76285fa6fe18a092bd5fe053c22e86d6203b14f497d0

Contents?: true

Size: 178 Bytes

Versions: 3

Compression:

Stored size: 178 Bytes

Contents

class WithoutArgumentJob
  include Sidekiq::Worker
  sidekiq_options unique: :until_executed,
                  log_duplicate_payload: true

  def perform
    sleep 20
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-5.0.2 spec/jobs/without_argument_job.rb
sidekiq-unique-jobs-5.0.1 spec/jobs/without_argument_job.rb
sidekiq-unique-jobs-5.0.0 spec/jobs/without_argument_job.rb