Sha256: 4d80c2e8b26009311f9c33275e927a3997384ed70b8c080e2dc828e87229f55d

Contents?: true

Size: 232 Bytes

Versions: 6

Compression:

Stored size: 232 Bytes

Contents

# frozen_string_literal: true

# :nocov:

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

  def perform(arg)
    [arg]
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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