Skip to content

Semaphore (Bulkheading)

Alex edited this page Jun 21, 2021 · 2 revisions

Enabled by default - Cannot be disabled, currently

The semaphore enables us to limit the amount of parallisme that command can have at any given point.
The semaphore is controlled through the MaxParallelism integer in CommandConfiguration.
Note: Semaphores work per CommandKey.

Configuration - defaults

CommandConfiguration.CreateConfiguration(
config =>
{
    config.MaxParallelism = 10;
    config.IsEnabled = true;
});
Clone this wiki locally