# DurableJobsOptions.ShardClaimInitialBudget

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.hosting.durablejobsoptions/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.hosting.durablejobsoptions/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.DurableJobs/Hosting/DurableJobsOptions.cs)

```csharp
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](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.hosting.durablejobsoptions/) over [DurableJobsOptions](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.hosting.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

```csharp
options.ShardClaimInitialBudget = 1;
```
