think-queue icon indicating copy to clipboard operation
think-queue copied to clipboard

怎么配置最大执行次数

Open hardai520 opened this issue 10 months ago • 3 comments

hardai520 avatar Mar 05 '25 07:03 hardai520

不重新投递,就会一直无限循环

smithyj avatar Apr 14 '25 01:04 smithyj

通过 $job->attempts() 可以获取已执行的次数

smithyj avatar Apr 14 '25 01:04 smithyj

在主进程中加执行参数 --tries=2 其中2为最大执行次数

xiaochennew avatar Sep 26 '25 02:09 xiaochennew