Sha256: cd94b878ee0c68dfc6772eea0e1a70da325cfa7f8f5a2cc501322075d3e0b441

Contents?: true

Size: 219 Bytes

Versions: 16

Compression:

Stored size: 219 Bytes

Contents

# frozen_string_literal: true

# :nocov:

class UntilExpiredJob
  include Sidekiq::Worker
  sidekiq_options lock: :until_expired, lock_expiration: 1, lock_timeout: 0

  def perform(one)
    TestClass.run(one)
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-6.0.13 examples/until_expired_job.rb
sidekiq-unique-jobs-6.0.12 examples/until_expired_job.rb
sidekiq-unique-jobs-6.0.11 examples/until_expired_job.rb
sidekiq-unique-jobs-6.0.10 examples/until_expired_job.rb
sidekiq-unique-jobs-6.0.9 examples/until_expired_job.rb
sidekiq-unique-jobs-6.0.8 examples/until_expired_job.rb
sidekiq-unique-jobs-6.0.7 examples/until_expired_job.rb
sidekiq-unique-jobs-6.0.6 examples/until_expired_job.rb
sidekiq-unique-jobs-6.0.5 examples/until_expired_job.rb
sidekiq-unique-jobs-6.0.4 examples/until_expired_job.rb
sidekiq-unique-jobs-6.0.3 examples/until_expired_job.rb
sidekiq-unique-jobs-6.0.2 examples/until_expired_job.rb
sidekiq-unique-jobs-6.0.1 examples/until_expired_job.rb
sidekiq-unique-jobs-6.0.0 examples/until_expired_job.rb
sidekiq-unique-jobs-6.0.0.rc8 examples/until_expired_job.rb
sidekiq-unique-jobs-6.0.0.rc7 examples/until_expired_job.rb