ruby on rails - How to set multiple pidfile in sidekiq.yml file? -
from official wiki page of sidekiq found:
--- :concurrency: 5 :pidfile: tmp/pids/sidekiq.pid staging: :concurrency: 10 production: :concurrency: 20 :queues: - default - [myqueue, 2]
now want create multiple tasks using same sidekiq.yml
file. use different pid name, such as:
- /tmp/pids/task1.pid
- /tmp/pids/task2.pid
how write in sidekiq.yml
?
you cannot that. pidfile designed command line arg only.
Comments
Post a Comment