CosmosClientOptions.MaxTcpConnectionsPerEndpoint Property

Definition

(Direct/TCP) Controls the maximum number of TCP connections that may be opened to each Cosmos DB back-end. Together with MaxRequestsPerTcpConnection, this setting limits the number of requests that are simultaneously sent to a single Cosmos DB back-end(MaxRequestsPerTcpConnection x MaxTcpConnectionPerEndpoint).

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

Property Value

The default value is 65,535. Value must be greater than or equal to 16.

Applies to