Sha256: bc3bb6d85d61c7018ef214ff74b16ca9deb431fb05d931184febd857a53b5a4a

Contents?: true

Size: 330 Bytes

Versions: 9

Compression:

Stored size: 330 Bytes

Contents

class AnotherUniqueJob
  include Sidekiq::Worker
  sidekiq_options queue: :working2, 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

9 entries across 9 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-5.0.0 spec/jobs/another_unique_job.rb
sidekiq-unique-jobs-4.0.18 spec/jobs/another_unique_job.rb
sidekiq-unique-jobs-4.0.17 spec/jobs/another_unique_job.rb
sidekiq-unique-jobs-4.0.16 spec/jobs/another_unique_job.rb
sidekiq-unique-jobs-4.0.15 spec/jobs/another_unique_job.rb
sidekiq-unique-jobs-4.0.13 spec/jobs/another_unique_job.rb
sidekiq-unique-jobs-4.0.12 spec/jobs/another_unique_job.rb
sidekiq-unique-jobs-4.0.11 spec/jobs/another_unique_job.rb
sidekiq-unique-jobs-4.0.10 spec/jobs/another_unique_job.rb