Ejemplo n.º 1
0
 public void SetDistance(HostDistance distance)
 {
     _expectedConnectionLength = _poolingOptions.GetCoreConnectionsPerHost(distance);
     _maxInflightThresholdToConsiderResizing = _poolingOptions.GetMaxSimultaneousRequestsPerConnectionTreshold(distance);
     _maxConnectionLength = _poolingOptions.GetMaxConnectionPerHost(distance);
 }