Sha256: 9b984edca9c35023d70f235a029aa36c96eee7ca1c7a1516b98f865e2667ec6d

Contents?: true

Size: 209 Bytes

Versions: 1

Compression:

Stored size: 209 Bytes

Contents

class InlineExpirationWorker
  include Sidekiq::Worker
  sidekiq_options unique: true, unique_lock: :until_timeout,
                  unique_expiration: 10 * 60
  def perform(x)
    TestClass.run(x)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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