Describe the bug
when perform as required arguments, sidekiq normally returns an error when calling perform_async without any arguments, this is no longer the case with sidekiq_unique_jobs 6.0.6
Expected behavior
the ArgumentError should be raised in the process calling perform_async
Current behavior
jobs is sent to sidekiq to crash.
Worker class
class MyWorker
include Sidekiq::Worker
sidekiq_options lock: :until_executed, queue: :undefault
def perform(args); end
def self.unique_args(args)
# the way you consider unique arguments
end
end
Describe the bug
when perform as required arguments, sidekiq normally returns an error when calling
perform_asyncwithout any arguments, this is no longer the case with sidekiq_unique_jobs 6.0.6Expected behavior
the
ArgumentErrorshould be raised in the process callingperform_asyncCurrent behavior
jobs is sent to sidekiq to crash.
Worker class