Skip to main content

Interface: ResourceBasedSlotOptions

worker.ResourceBasedSlotOptions

Options for a specific slot type within a ResourceBasedSlotsForType

Worker Tuner is an experimental feature and may be subject to change.

Properties

maximumSlots

Optional maximumSlots: number

Maximum amount of slots permitted Defaults to 1000 for workflow tasks and 2000 for activity tasks.


minimumSlots

Optional minimumSlots: number

Amount of slots that will be issued regardless of any other checks. Defaults to 2 for workflow tasks and 1 for activity tasks.


rampThrottle

Optional rampThrottle: Duration

Minimum time we will wait (after passing the minimum slots number) between handing out new slots. Defaults to 10ms for workflow tasks and 50ms for activity tasks.