Skip to content

修改任务执行的最大时间 #203

@xiaochennew

Description

@xiaochennew

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

Image Image Image Image

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

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

Image Image Image

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

Image Image

真的太坑了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions