temporalio.worker.ResourceBasedSlotConfig

Maximum amount of slots permitted. Defaults to 500.

Amount of slots that will be issued regardless of any other checks. Defaults to 5 for workflows and 1 for activities.

Minimum time we will wait (after passing the minimum slots number) between handing out new slots in milliseconds. Defaults to 0 for workflows and 50ms for activities.

This value matters because how many resources a task will use cannot be determined ahead of time, and thus the system should wait to see how much resources are used before issuing more slots.