ruby on rails - How to set multiple pidfile in sidekiq.yml file? -


from official wiki page of sidekiq found:

https://github.com/mperham/sidekiq/wiki/advanced-options

--- :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

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -