Sha256: f2288faa408df5dfa8674cb87e0153dfd0dd3281d4a53483318050f3af0128a3

Contents?: true

Size: 248 Bytes

Versions: 16

Compression:

Stored size: 248 Bytes

Contents

# frozen_string_literal: true

# :nocov:

class MainJob
  include Sidekiq::Worker
  sidekiq_options lock: :until_executed,
                  log_duplicate_payload: true,
                  queue: :customqueue

  def perform(arg)
    [arg]
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

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