# StatelessWorkerOptions.MinIdleCyclesBeforeRemoval

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.statelessworkeroptions/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.statelessworkeroptions/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Configuration/Options/StatelessWorkerOptions.cs)

```csharp
public int MinIdleCyclesBeforeRemoval
```

The minimum, consecutive number of idle cycles any given worker must exhibit before it is deemed enough to remove the worker.
