Sha256: b208ff3f036bab9133bcbc1246ce991e8cb9cd54ee07c2146bd7502e87ec5b54
Contents?: true
Size: 313 Bytes
Versions: 2
Compression:
Stored size: 313 Bytes
Contents
class UniqueWorker include Sidekiq::Worker sidekiq_options queue: :working, retry: 1, backtrace: 10 sidekiq_options unique: 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-unique-jobs-3.0.14 | spec/support/unique_worker.rb |
sidekiq-unique-jobs-3.0.13 | spec/support/unique_worker.rb |