I have two different workers that I would like to run alongside my web app in Heroku.
I currently have the following in the procfile:
web: gunicorn project:app
worker: python project/worker/worker.py
worker: python project/worker/processor.py
but it only runs the web and the last worker processor as those are the only ones I can see under dynos. What am I doing wrong?
Use unique names for each of your worker process-types, e.g:
web: gunicorn project:app
worker: python project/worker/worker.py
processor: python project/worker/processor.py
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With