Note that `NrRequestsInFlight` uses `ConcurrentDictionary.Count` which is super 
expensive.

We can maintain a separate counter or maybe limit the comparison to 2 
connections max for now (and fix later): `for (...; i < 
Math.Min(connections.Length, 2); ...)`

[ Full content available at: https://github.com/apache/tinkerpop/pull/1077 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to