ruby on rails - Can we have two workers with different jobs in Procfile for Heroku? -


i have following in procfile:

worker: rake sf:subscribe web: bundle exec unicorn -p $port -c ./config/unicorn.rb worker: bundle exec sidekiq 

how can have above config?

currently when push code on heroku, first worker task (rake sf:subscribe) ignored.

is there other way that?

only web process 'hard coded' - can call other processes whatever want, eg worker1 , worker2, start heroku ps:scale worker1=1 , heroku ps:scale worker2=1


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -