Sha256: 2ddca8c7d0d97003adbbdc186d0c17b494e8727fb6878ff62a6de7d1e44533af

Contents?: true

Size: 200 Bytes

Versions: 6

Compression:

Stored size: 200 Bytes

Contents

# frozen_string_literal: true

# :nocov:

class InlineWorker
  include Sidekiq::Worker
  sidekiq_options unique: :while_executing, lock_timeout: 5

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

Version data entries

6 entries across 6 versions & 1 rubygems

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