think-queue
think-queue copied to clipboard
怎么配置最大执行次数
不重新投递,就会一直无限循环
通过 $job->attempts() 可以获取已执行的次数
在主进程中加执行参数 --tries=2 其中2为最大执行次数