Skip to content

The worker_abort hook with mail function cannot be executed to completion #3336

@bingyun123

Description

@bingyun123

Issue:
When a custom worker_abort hook contains time-consuming operations(Email reminder), it will be interrupted after executing part of it.

Why:
Some of my jobs (Background thread running) take a long time to execute, when the timeout period is exceeded, the job will be killed. At this time, I need to customize the hook to listen for the exception information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions