# GatewayOptions Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.configuration.gatewayoptions/)

## GatewayListRefreshPeriod {#gatewaylistrefreshperiod-23699fa3}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.configuration.gatewayoptions/properties/gatewaylistrefreshperiod-23699fa3/)

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

```csharp
public TimeSpan GatewayListRefreshPeriod
```

Gets or sets the period of time between refreshing the list of active gateways.

### Value

The list of active gateways will be refreshed every minute by default.

## PreferredGatewayIndex {#preferredgatewayindex-098c6802}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.configuration.gatewayoptions/properties/preferredgatewayindex-098c6802/)

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

```csharp
public int PreferredGatewayIndex
```

Gets or sets the index of the preferred gateway within the list of active gateways.

### Value

No gateway is preferred by default.
