You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| :task-queue | y | The name of the task-queue for this worker instance to listen on. | String / keyword | |
37
-
| :ctx | | An opaque handle that is passed back as the first argument of [[temporal.workflow/defworkflow]] and [[temporal.activity/defactivity]], useful for passing state such as database or network connections. | <any> | nil |
38
-
| :dispatch | | An optional map explicitly setting the dispatch table | See below | All visible activities/workers are automatically registered |
34
+
| Value | Mandatory | Description | Type | Default |
| :task-queue | y | The name of the task-queue for this worker instance to listen on. | String / keyword | |
37
+
| :ctx | | An opaque handle that is passed back as the first argument of [[temporal.workflow/defworkflow]] and [[temporal.activity/defactivity]], useful for passing state such as database or network connections. | <any> | nil |
38
+
| :dispatch | | An optional map explicitly setting the dispatch table | See below | All visible activities/workers are automatically registered |
39
+
| :max-concurrent-activity-task-pollers | | Number of simultaneous poll requests on activity task queue. Consider incrementing if the worker is not throttled due to `MaxActivitiesPerSecond` or `MaxConcurrentActivityExecutionSize` options and still cannot keep up with the request rate. | int | 5 |
40
+
| :max-concurrent-activity-execution-size | | Maximum number of activities executed in parallel. | int | 200 |
41
+
| :max-concurrent-local-activity-execution-size | | Maximum number of local activities executed in parallel. | int | 200 |
42
+
| :max-concurrent-workflow-task-pollers | | Number of simultaneous poll requests on workflow task queue. | int | 2 |
43
+
| :max-concurrent-workflow-task-execution-size | | Maximum number of simultaneously executed workflow tasks. | int | 200 |
44
+
| :default-deadlock-detection-timeout | | Time period in ms that will be used to detect workflow deadlock. | long | 1000 |
45
+
| :default-heartbeat-throttle-interval | | Default amount of time between sending each pending heartbeat. | [Duration](https://docs.oracle.com/javase/8/docs/api//java/time/Duration.html) | 30s |
46
+
| :max-heartbeat-throttle-interval | | Maximum amount of time between sending each pending heartbeat. | [Duration](https://docs.oracle.com/javase/8/docs/api//java/time/Duration.html) | 60s |
47
+
| :local-activity-worker-only | | Worker should only handle workflow tasks and local activities. | boolean | false |
48
+
| :max-taskqueue-activities-per-second | | Sets the rate limiting on number of activities per second. | double | 0.0 (unlimited) |
49
+
| :max-workers-activities-per-second | | Maximum number of activities started per second. | double | 0.0 (unlimited) |
39
50
40
51
#### dispatch-table
41
52
@@ -53,7 +64,21 @@ Options for configuring workers (See [[start]])
0 commit comments