We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14d3470 commit 78fc3ccCopy full SHA for 78fc3cc
1 file changed
docs/develop/worker-performance.mdx
@@ -315,9 +315,9 @@ worker = Temporalio::Worker.new(
315
workflows: [MyWorkflow],
316
activities: [MyActivity],
317
318
- workflow_task_poller_behavior: Temporalio::Worker::PollerBehaviorAutoscaling.new,
319
- activity_task_poller_behavior: Temporalio::Worker::PollerBehaviorAutoscaling.new,
320
- nexus_task_poller_behavior: Temporalio::Worker::PollerBehaviorAutoscaling.new,
+ workflow_task_poller_behavior: Temporalio::Worker::PollerBehavior::Autoscaling.new,
+ activity_task_poller_behavior: Temporalio::Worker::PollerBehavior::Autoscaling.new,
+ nexus_task_poller_behavior: Temporalio::Worker::PollerBehavior::Autoscaling.new,
321
)
322
323
```
0 commit comments