Sha256: 04e16117fd4242a633ef54e3dc60add5ca220b38c706b37602ee8545d9d37b83
Contents?: true
Size: 366 Bytes
Versions: 9
Compression:
Stored size: 366 Bytes
Contents
class UntilExecutedJob include Sidekiq::Worker sidekiq_options queue: :working, retry: 1, backtrace: 10 sidekiq_options 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 def after_unlock # NO OP end end
Version data entries
9 entries across 9 versions & 1 rubygems