共用方式為


FabricTransportRemotingSettings.KeepAliveTimeout Property

Definition

Gets or sets the KeepAliveTimeout that provides a way to configure Tcp keep-alive option.

public TimeSpan KeepAliveTimeout { get; set; }
member this.KeepAliveTimeout : TimeSpan with get, set
Public Property KeepAliveTimeout As TimeSpan

Property Value

The KeepAliveTimeout as TimeSpan.

Remarks

Default Value for KeepAliveTimeout Timeout is set as TimeSpan.Zero. which indicates we disable the tcp keepalive option. If you are using loadbalancer , you may need to configure this in order to avoid the loadbalancer to close the connection after certain time.

Applies to