Sha256: 8fe94b6a2b492c66b715c4169919ce166f9bab5bc55e7ea957f99c8c6a0cd26a
Contents?: true
Size: 329 Bytes
Versions: 3
Compression:
Stored size: 329 Bytes
Contents
class AnotherUniqueJob include Sidekiq::Worker sidekiq_options queue: :working, retry: 1, backtrace: 10, unique: :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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-unique-jobs-4.0.9 | spec/jobs/another_unique_job.rb |
sidekiq-unique-jobs-4.0.8 | spec/jobs/another_unique_job.rb |
sidekiq-unique-jobs-4.0.7 | spec/jobs/another_unique_job.rb |