Restart failed jobs of a specific worker in resque

烈酒焚心 提交于 2019-12-13 00:23:17

问题


I have about 5 queues running in my application. I am not interested in restarting all the failed jobs. I just want to restart the failed jobs that belong to one worker.

I am using Resque with rails. I see an option to "Retry failed Jobs" in /resque page.

But, How do I restart the failed jobs that belong to one worker?


回答1:


I have found those articles about your question Resque: how to requeue failed jobs and Resque: automatically kill stuck workers and retry failed jobs



来源:https://stackoverflow.com/questions/18780191/restart-failed-jobs-of-a-specific-worker-in-resque

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!