Sha256: 132445870a8996136db0edb9581ecf039f3131b6a6e8f3b51ad7cdac509c4e40

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

class UniqueJobWithoutUniqueArgsParameter
  include Sidekiq::Worker
  sidekiq_options queue: :customqueue,
                  retry: true,
                  backtrace: true,
                  unique: :until_executed,
                  unique_args: :unique_args

  def perform(conditional = nil)
    # NO-OP
  end

  def self.unique_args; end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-5.0.2 spec/jobs/unique_job_with_conditional_parameter.rb