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

修改任务执行的最大时间

Open xiaochennew opened this issue 3 months ago • 0 comments

这个有个BUG,在主进程中有控制worker的最大运行时间的设置,但是在worker里面还有一个判定,判定当前执行的任务是否达到最大运行时间。如果达到了,就自动返回执行队列中,重新执行。

Image Image Image Image

给的demo配置中没有retry_after的配置。

注意:这里修改完成后还需要再修改主进程中的最大运行时间,要不然用的是默认值60秒

Image Image Image

这个等待的执行中有判定当前运行的时间是否超过设置的时间,如果超过了,就报错

Image Image

真的太坑了

xiaochennew avatar Sep 26 '25 02:09 xiaochennew