Resque worker is failing the jobs

210 Views Asked by At

I have deployed a Rails app on Heroku and assigned 5 Resque workers from Heroku resources which are working fine. But it seems like there is 1 more worker is assigned from somewhere else and failing the jobs as it does not have latest code. If you see in the below screenshot, I have 6 workers instead of 5 If you see in the below screenshot, I have 6 workers instead of 5

and here, this worker is failing the jobs and it's 6th one. enter image description here

and If I go to Heroku rails console and see the workers list, I can see the below list enter image description here

Here's my Procfile command for resque.

resque: env TERM_CHILD=1 RESQUE_TERM_TIMEOUT=7 bundle exec rake QUEUE=priority,settings_queue,default environment resque:work

Please, Help me to understand that why it's happening and what can be the possible solution for this? Is there a way to remove the 6th worker(which is causing jobs failure) permanently? Please help. Thank you.

0

There are 0 best solutions below