Skip to content

Expose the Go worker heartbeat batching limit - #526

Open
lilydoar wants to merge 1 commit into
lilydoar/healthy-heartbeat-activitiesfrom
lilydoar/worker-heartbeat-batching
Open

lilydoar wants to merge 1 commit into
lilydoar/healthy-heartbeat-activitiesfrom
lilydoar/worker-heartbeat-batching

Conversation

@lilydoar

@lilydoar lilydoar commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

What changed

Expose the Go SDK's maximum heartbeat throttle interval as a worker option. Zero retains SDK defaults, and named worker profiles keep precedence over individual tuning flags.

Review: As a single unit in stack order.

Why

Calling RecordHeartbeat more frequently does not necessarily send RPCs more frequently: the SDK batches them. Controlling that batching interval lets load profiles tune persistence cadence independently of the activity heartbeat timeout and retry policy.

Details worth reviewing

Merge after #519, including the SDK prerequisite inherited through #518. This adds a capability; it does not activate a new batching interval in a shared profile.

@lilydoar
lilydoar requested review from a team as code owners October 26, 2026 20:56
@lilydoar
lilydoar added this pull request to stack #529 October 26, 2026 20:57
@lilydoar
lilydoar force-pushed the lilydoar/worker-heartbeat-batching branch 2 times, most recently from 333090d to 3c075d8 Compare October 26, 2026 21:16
@lilydoar
lilydoar force-pushed the lilydoar/worker-heartbeat-batching branch from 3c075d8 to 8d029b4 Compare October 27, 2026 20:55
@lilydoar
lilydoar force-pushed the lilydoar/worker-heartbeat-batching branch from 8d029b4 to 6663510 Compare October 27, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants