Skip to content

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

Description

@xiaochennew

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

Image Image Image Image

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

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

Image Image Image

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

Image Image

真的太坑了

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions