在 resque 中重新启动特定工人的失败作业 [英] Restart failed jobs of a specific worker in resque

查看:55
本文介绍了在 resque 中重新启动特定工人的失败作业的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序中运行了大约 5 个队列.我对重新启动所有失败的作业不感兴趣.我只想重新启动属于一个工人的失败作业.

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.

我正在使用带有导轨的 Resque.我在/resque 页面中看到了重试失败的作业"选项.

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?

推荐答案

我找到了那些关于您的问题的文章 Resque:如何将失败的作业重新排队Resque:自动杀死卡住的工人并重试失败的工作

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

这篇关于在 resque 中重新启动特定工人的失败作业的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆