# PrimaryOperationFailed.ComputeRetryDelay(TimeSpan?)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.common.primaryoperationfailed/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.common.primaryoperationfailed/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.EventSourcing/Common/ConnectionIssues.cs#L23-L38)

```csharp
public override TimeSpan ComputeRetryDelay(TimeSpan? previous)
```

Computes the retry delay based on the rest of the information. Is overridden by subclasses that represent specific categories of issues.

### Parameters

- `previous` (`TimeSpan?`): The previously used retry delay
