Skip to content

Commit 23fe827

Browse files
authored
docs: Note that maxActivitiesPerSecond doesn't apply to Local Activities (#1084)
1 parent ec82741 commit 23fe827

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/worker/src/worker-options.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,11 @@ export interface WorkerOptions {
172172
enableNonLocalActivities?: boolean;
173173

174174
/**
175-
* Limits the number of activities per second that this worker will process. The worker will not poll for new
176-
* activities if by doing so it might receive and execute an activity which would cause it to exceed this limit. Must
177-
* be a positive floating point number.
175+
* Limits the number of Activities per second that this Worker will process. (Does not limit the number of Local
176+
* Activities.) The Worker will not poll for new Activities if by doing so it might receive and execute an Activity
177+
* which would cause it to exceed this limit. Must be a positive number.
178178
*
179-
* If unset, no rate limiting will be applied to Worker's activities. (`tctl task-queue describe` will display the
179+
* If unset, no rate limiting will be applied to Worker's Activities. (`tctl task-queue describe` will display the
180180
* absence of a limit as 100,000.)
181181
*/
182182
maxActivitiesPerSecond?: number;

0 commit comments

Comments
 (0)