Sha256: fa66fd7b45623a1cae1e48a95273f460de927a4230d613fc9948e7b920021d64

Contents?: true

Size: 284 Bytes

Versions: 6

Compression:

Stored size: 284 Bytes

Contents

# frozen_string_literal: true

# :nocov:

class LongRunningJob
  include Sidekiq::Worker
  sidekiq_options queue: :customqueue, retry: true, unique: :until_and_while_executing,
                  lock_expiration: 7_200, retry_count: 10
  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/long_running_job.rb
sidekiq-unique-jobs-6.0.0.rc5 examples/long_running_job.rb
sidekiq-unique-jobs-6.0.0.rc4 examples/long_running_job.rb
sidekiq-unique-jobs-6.0.0.rc3 examples/long_running_job.rb
sidekiq-unique-jobs-6.0.0.rc2 examples/long_running_job.rb
sidekiq-unique-jobs-6.0.0.rc1 examples/long_running_job.rb