Sha256: 294bea1053dc6daf6d0cc6e63547de73061b56f058fb4297e95563680d4b11ca
Contents?: true
Size: 317 Bytes
Versions: 7
Compression:
Stored size: 317 Bytes
Contents
class MyWorker include Sidekiq::Worker sidekiq_options queue: :working, retry: 1, backtrace: 10 sidekiq_options unique: false sidekiq_retries_exhausted do |msg| Sidekiq.logger.warn "Failed #{msg['class']} with #{msg['args']}: #{msg['error_message']}" end def perform(param) puts param end end
Version data entries
7 entries across 7 versions & 1 rubygems