Sha256: 1d05c3cdd2c2ea5a03ae961b96fd0880356d3cfcb926f57d589a708e61851f4b
Contents?: true
Size: 282 Bytes
Versions: 2
Compression:
Stored size: 282 Bytes
Contents
class MyJob include Sidekiq::Worker sidekiq_options queue: :working, retry: 1, backtrace: 10, unique: false sidekiq_retries_exhausted do |msg| 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-5.0.2 | spec/jobs/my_job.rb |
sidekiq-unique-jobs-5.0.1 | spec/jobs/my_job.rb |