在hangfire中重新安排失败的工作

问题描述 投票:0回答:1

是否可以在hangfire中重新安排失败的工作?在成功之后有没有办法清除失败的工作队列?

这怎么可能?

hangfire
1个回答
1
投票

一天后(默认情况下)将通过hangfire自动清除作业。 https://discuss.hangfire.io/t/how-to-configure-the-retention-time-of-job/34/2?u=odinserj

请参阅有关处理作业执行期间发生的异常的hangfire文档

http://docs.hangfire.io/en/latest/background-processing/dealing-with-exceptions.html

© www.soinside.com 2019 - 2024. All rights reserved.