# ConsulGatewayListProvider.MaxStaleness

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.clustering.consul/orleans.runtime.membership.consulgatewaylistprovider/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.clustering.consul/orleans.runtime.membership.consulgatewaylistprovider/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Clustering.Consul/ConsulGatewayListProvider.cs#L38)

```csharp
public TimeSpan MaxStaleness
```

Gets the period of time between refreshes.
