İngilizce dilinde oku

Aracılığıyla paylaş


CosmosClientOptions.IdleTcpConnectionTimeout Property

Definition

(Direct/TCP) Controls the amount of idle time after which unused connections are closed.

public TimeSpan? IdleTcpConnectionTimeout { get; set; }

Property Value

By default, idle connections are kept open indefinitely. Value must be greater than or equal to 10 minutes. Recommended values are between 20 minutes and 24 hours.

Remarks

Mainly useful for sparse infrequent access to a large database account.

Applies to

Ürün Sürümler
Azure SDK for .NET Latest