CosmosClientOptions.IdleTcpConnectionTimeout プロパティ

定義

(Direct/TCP)未使用の接続を閉じるアイドル時間を制御します。

public TimeSpan? IdleTcpConnectionTimeout { get; set; }
member this.IdleTcpConnectionTimeout : Nullable<TimeSpan> with get, set
Public Property IdleTcpConnectionTimeout As Nullable(Of TimeSpan)

プロパティ値

既定では、アイドル状態の接続は無期限に開いた状態になります。 値は 10 分以上である必要があります。 推奨値は 20 分から 24 時間です。

注釈

主に、大規模なデータベース アカウントへのアクセス頻度が低いスパースに役立ちます。

適用対象