Skip to content

Drain polled tasks on shutdown #1197

@Quinn-With-Two-Ns

Description

@Quinn-With-Two-Ns

Is your feature request related to a problem? Please describe.
When a worker is shutting down, if it has polled for tasks, but not started processing them it will drop them and continue to close

Describe the solution you'd like
When a worker is shutting down, it should stop accepting new tasks, but let any it already has polled try to be processed in the worker stop timeout

Additional context
#1195

Metadata

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