Skip to content

DurableJobsOptions.ShardClaimInitialBudget

ShardClaimInitialBudget

getset
View source
public int ShardClaimInitialBudget
Gets or sets the maximum number of orphaned shards a silo may claim immediately after startup. The cumulative budget grows linearly from this value to DurableJobsOptions over DurableJobsOptions, after which the limit is removed entirely. This prevents a freshly started silo from overwhelming itself by claiming all orphaned shards at once during disaster-recovery scenarios. Default: 2.

Examples

options.ShardClaimInitialBudget = 1;