CosmosClientOptions.MaxTcpConnectionsPerEndpoint Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
(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.