# IActivationRebalancer.SuspendRebalancing(TimeSpan?)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.placement.rebalancing.iactivationrebalancer/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.placement.rebalancing.iactivationrebalancer/methods/)

```csharp
public abstract Task SuspendRebalancing(TimeSpan? duration = null)
```

Suspends rebalancing if its running, otherwise its a no-op.

### Parameters

- `duration` (`TimeSpan?`): The amount of time to suspend the rebalancer. 

`null` means suspend indefinitely.
