Sha256: e752c65b0eb892c213167558a48c2935d0b7078342d9e6e231d8eb54ffdef71c
Contents?: true
Size: 382 Bytes
Versions: 1
Compression:
Stored size: 382 Bytes
Contents
class UniqueOnAllQueuesWorker include Sidekiq::Worker sidekiq_options queue: :working, retry: 1, backtrace: 10 sidekiq_options unique: true, unique_on_all_queues: true, unique_lock: :until_executed 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-unique-jobs-4.0.0 | spec/workers/unique_on_all_queues_worker.rb |