Sha256: e9e442bf1c15a647f9905f0d9e163e528b3d13ae74d82e431ce736c6a239c39b

Contents?: true

Size: 325 Bytes

Versions: 6

Compression:

Stored size: 325 Bytes

Contents

# frozen_string_literal: true

# :nocov:

class MyUniqueJob
  include Sidekiq::Worker
  sidekiq_options queue: :customqueue,
                  retry: true,
                  retry_count: 10,
                  unique: :until_executed,
                  lock_expiration: 7_200

  def perform(one, two)
    [one, two]
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-6.0.0.rc6 examples/my_unique_job.rb
sidekiq-unique-jobs-6.0.0.rc5 examples/my_unique_job.rb
sidekiq-unique-jobs-6.0.0.rc4 examples/my_unique_job.rb
sidekiq-unique-jobs-6.0.0.rc3 examples/my_unique_job.rb
sidekiq-unique-jobs-6.0.0.rc2 examples/my_unique_job.rb
sidekiq-unique-jobs-6.0.0.rc1 examples/my_unique_job.rb