Sha256: 25146324816983c1766819bc2850f270b9e526462db7854e440a2642ce042862

Contents?: true

Size: 290 Bytes

Versions: 12

Compression:

Stored size: 290 Bytes

Contents

class MyJob
  include Sidekiq::Worker
  sidekiq_options queue: :working, retry: 1, backtrace: 10, unique: false

  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

12 entries across 12 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-5.0.0 spec/jobs/my_job.rb
sidekiq-unique-jobs-4.0.18 spec/jobs/my_job.rb
sidekiq-unique-jobs-4.0.17 spec/jobs/my_job.rb
sidekiq-unique-jobs-4.0.16 spec/jobs/my_job.rb
sidekiq-unique-jobs-4.0.15 spec/jobs/my_job.rb
sidekiq-unique-jobs-4.0.13 spec/jobs/my_job.rb
sidekiq-unique-jobs-4.0.12 spec/jobs/my_job.rb
sidekiq-unique-jobs-4.0.11 spec/jobs/my_job.rb
sidekiq-unique-jobs-4.0.10 spec/jobs/my_job.rb
sidekiq-unique-jobs-4.0.9 spec/jobs/my_job.rb
sidekiq-unique-jobs-4.0.8 spec/jobs/my_job.rb
sidekiq-unique-jobs-4.0.7 spec/jobs/my_job.rb