Skip to content

Last cached activity heartbeat should be discarded or drained with activity completion or worker shutdown #1256

@Spikhalskiy

Description

@Spikhalskiy

Is your feature request related to a problem? Please describe.
Currently, if an Activity heartbeat too often and the heartbeat gets throttled and cached, an activity finishes without draining or canceling the heartbeat.

Describe the solution you'd like
The last cached heartbeat should be either drained before the activity completion or discarded/canceled.
This also should be happening during graceful worker shutdown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions