Sha256: ce929ebfe1ac0f3719b20cba717a5fe52b4b84ea26e66fca4787db875426cc1c

Contents?: true

Size: 361 Bytes

Versions: 12

Compression:

Stored size: 361 Bytes

Contents

class UniqueOnAllQueuesJob
  include Sidekiq::Worker
  sidekiq_options queue: :working, retry: 1, backtrace: 10,
                  unique: :until_executed, unique_on_all_queues: true

  sidekiq_retries_exhausted do |msg|
    Sidekiq.logger.warn "Failed #{msg['class']} with #{msg['args']}: #{msg['error_message']}"
  end

  def perform(*)
    # NO-OP
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-5.0.0 spec/jobs/unique_on_all_queues_job.rb
sidekiq-unique-jobs-4.0.18 spec/jobs/unique_on_all_queues_job.rb
sidekiq-unique-jobs-4.0.17 spec/jobs/unique_on_all_queues_job.rb
sidekiq-unique-jobs-4.0.16 spec/jobs/unique_on_all_queues_job.rb
sidekiq-unique-jobs-4.0.15 spec/jobs/unique_on_all_queues_job.rb
sidekiq-unique-jobs-4.0.13 spec/jobs/unique_on_all_queues_job.rb
sidekiq-unique-jobs-4.0.12 spec/jobs/unique_on_all_queues_job.rb
sidekiq-unique-jobs-4.0.11 spec/jobs/unique_on_all_queues_job.rb
sidekiq-unique-jobs-4.0.10 spec/jobs/unique_on_all_queues_job.rb
sidekiq-unique-jobs-4.0.9 spec/jobs/unique_on_all_queues_job.rb
sidekiq-unique-jobs-4.0.8 spec/jobs/unique_on_all_queues_job.rb
sidekiq-unique-jobs-4.0.7 spec/jobs/unique_on_all_queues_job.rb