Hangfire AutomaticRetry尝试未在方法上设置属性

时间:2017-07-10 20:56:33

标签: hangfire

我正在使用Hangfire v1.6.14.0。我在Method上设置了AutomaticRetry Attempts属性,但重试次数仍然是默认值10.是否还需要做其他事情?

        [AutomaticRetry(Attempts = 3)]
        public void SubmitRequest()
        {
        }

0 个答案:

没有答案