As description, it is to make sure that a job can be scheduled any number of times but only executed a single time per argument provided to the job we call this runtime uniqueness. But it not work for me
class Job
include Sidekiq::Worker
sidekiq_options queue: :test, retry: true, unique: :while_executing
def perform(arg)
sleep 5.minutes
end
end
Job.perform_async(1)
Job.perform_async(1)
Job.perform_async(2)
Have two Job with arg is 1 execute at the time

System information
Sidekiq Config
:queues:
- test
- default
:limits:
test: 3
As description, it is to make sure that a job can be scheduled any number of times but only executed a single time per argument provided to the job we call this runtime uniqueness. But it not work for me
Have two
Jobwith arg is1execute at the timeSystem information
3.3.14.1.34.0.183.1.0Sidekiq Config