From the official wiki page of sidekiq I found:
---
:concurrency: 5
:pidfile: tmp/pids/sidekiq.pid
staging:
:concurrency: 10
production:
:concurrency: 20
:queues:
- default
- [myqueue, 2]
Now I want to create multiple tasks using the same sidekiq.yml
file. But use different pid name, such as:
How to write it in the sidekiq.yml
?
You cannot do that. pidfile is designed to be a command line arg only.