Sha256: 015969afc283499f3c6363020345a1717d07034f642fbabf88e1b41a1981f8f0

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

class MyUniqueWorker
  include Sidekiq::Worker
  sidekiq_options queue: :customqueue, retry: true, unique: true,
                  unique_expiration: 7_200, retry_count: 10,
                  unique_lock: :until_executed
  def perform(_)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-4.0.0 spec/workers/my_unique_worker.rb