Skip to content

Send a warning signal to tasks before killing them #1349

Open
@tuulos

Description

Today runtime.py kills running tasks when one of them crashes (worker.kill()). With this approach, it is impossible to tear down resources used by tasks gracefully.

We could send workers a warning signal which they can catch and process, a few seconds prior to SIGKILL, to allow them to clean up before terminating.

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions