spec/jobs/another_unique_job.rb in sidekiq-unique-jobs-5.0.0 vs spec/jobs/another_unique_job.rb in sidekiq-unique-jobs-5.0.1
- old
+ new
@@ -2,10 +2,10 @@
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']}"
+ logger.warn "Failed #{msg['class']} with #{msg['args']}: #{msg['error_message']}"
end
def perform(*)
# NO-OP
end