Click or drag to resize

PoolingOptionsSetMaxRequestsPerConnection Method

Sets the maximum amount of requests that can be in-flight on a single connection at the same time.

This setting acts as a fixed maximum, once this value is reached for a host the pool will start rejecting requests, throwing BusyPoolException instances.

This setting should not be mistaken with SetMaxSimultaneousRequestsPerConnectionTreshold(HostDistance, Int32).

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public PoolingOptions SetMaxRequestsPerConnection(
	int value
)

Parameters

value
Type: SystemInt32

Return Value

Type: PoolingOptions
See Also