Skip to main content

Interface: ResourceBasedSlotOptions

Options for a specific slot type within a ResourceBasedSlotsForType

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.