4

Following is what about dashboard says regarding Dynos:

enter image description here

For the time being, I only need two dynos: web & resque, and I do not need the third one: worker. How can I get rid of it, or is it something default by Heroku, and I'm not allowed to remove it.

If I can't remove it, is there a way that what I'm doing on resque dyno, can I get the same results through woker dyno?

Arslan Ali
  • 17,418
  • 8
  • 58
  • 76

2 Answers2

2

Simply remove the line that starts with "worker" in your Procfile, and do a "git push heroku master".

Yoni Rabinovitch
  • 5,171
  • 1
  • 23
  • 34
  • 1
    I have only one line in my `Procfile` that says: `esque: env TERM_CHILD=1 RESQUE_TERM_TIMEOUT=7 QUEUE=* bundle exec rake resque:work`, and nothing else I have added to this file. – Arslan Ali Aug 02 '16 at 19:07
0

The worker dyno type is likely being provided by your buildpack. See the output of your deployment:

remote:        Procfile declares types     -> clock, sidekiq, web
remote:        Default types for buildpack -> console, rake, worker

I believe you would have to change what buildpack you are using to remove the worker dyno type.

Ian Terrell
  • 10,667
  • 11
  • 45
  • 66