This might be a stupid question.
Is there a recommended default_worker_options for sidekiq-unique-jobs?
I've been testing a few different strategies and I'm still not sure what is the best strategy.
I have a bunch of jobs that should not be run at the same time, but can be run one after the other as there is some idempotency built-in. I have other jobs that run every day (fetching data from APIs), that have the exact same args.
I'm currenly using while_executing, but it seems to lock up my queues a lot.
Sidekiq.default_worker_options = {
lock: :while_executing,
lock_timeout: nil
Any recommendations would be appreciated - if this is an inappropriate questions, happy to have it insta-closed.
This might be a stupid question.
Is there a recommended default_worker_options for sidekiq-unique-jobs?
I've been testing a few different strategies and I'm still not sure what is the best strategy.
I have a bunch of jobs that should not be run at the same time, but can be run one after the other as there is some idempotency built-in. I have other jobs that run every day (fetching data from APIs), that have the exact same args.
I'm currenly using while_executing, but it seems to lock up my queues a lot.
Any recommendations would be appreciated - if this is an inappropriate questions, happy to have it insta-closed.