Depends on how we want to handle pool failures.

>From what I understand, `GetAvailableConnectionAsync()` gets called every 
>time, and it calls `EnsurePoolIsPopulatedAsync()` so, it's possible that 
>during the lifetime of the driver, a connection is closed and 
>`EnsurePoolIsPopulatedAsync()` needs to create a new one:
- If there is another connection open, I would prefer 
`EnsurePoolIsPopulatedAsync()` to occur in the background, with some kind of 
back-off delay (in the order of hundreds of millis, seconds or we can use 
exponential back off).
- If there isn't another open connection, we can await until one connection is 
open and fail as fast as possible.

[ 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