Skip to content

Document worker activity rate limit timeout caveat#2367

Open
kritibehl wants to merge 1 commit into
temporalio:mainfrom
kritibehl:docs-worker-activities-rate-limit
Open

Document worker activity rate limit timeout caveat#2367
kritibehl wants to merge 1 commit into
temporalio:mainfrom
kritibehl:docs-worker-activities-rate-limit

Conversation

@kritibehl
Copy link
Copy Markdown
Contributor

What was changed

Updated the WorkerActivitiesPerSecond field comment to document that the worker-side activity rate limit is applied after activity tasks are received by the worker.

Why?

If WorkerActivitiesPerSecond is set very low, server-side timeouts may continue to elapse while activity tasks wait behind the worker-side rate limiter. This documents the caveat described in #1131.

Checklist

  1. Closes worker.Options.WorkerActivitiesPerSecond applies after poll is received #1131

  2. How was this tested:

Documentation-only change.

Also ran:

go test ./internal -run TestNonExistent -count=1

  1. Any docs updates needed?

No additional docs updates needed.

@kritibehl kritibehl requested a review from a team as a code owner May 25, 2026 15:20
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.

worker.Options.WorkerActivitiesPerSecond applies after poll is received

1 participant