Reputation: 8271
I'm trying to resize workers but the following message appears:
MacBook-Pro-de-Ricardo:subastas ricardo$ heroku ps:resize worker=2X
Resizing and restarting the specified dynos... failed
! No such process type worker defined in Procfile.
this is my procfile:
web: gunicorn -k flask_sockets.worker chat:app
Upvotes: 0
Views: 272
Reputation: 11342
Unicorn workers and Heroku workers are not the same. Unicorn workers are in your web process, responding to requests.
Heroku workers are background workers.
If you need more ram et. al. for your workers, you just need to re-size the web
type:
ex:
$ heroku ps:scale web=n:2X
That reads: "scale to n
web worker(s) at 2X dyno size", where n
is the number of web dynos you want running.
Upvotes: 1