I was periodically encountering my applications effectively locking up because of Errors stating Async pool timeout . In my use case I'd rather just wait indefinitely for a connection to be available throughout my application. Prior to this PR gremlin-rs was relying on the default pool connection timeout of 30 seconds, coincidentally the same for both the sync pool (r2d2) and the async pool (mobc) providers.
This PR will allow users of the library to modify the timeout, and possibly, for the async pool, opt out of a timeout all together.
@wolf4ood jumped to a PR, but happy to open an issue if you'd like to talk & refine the idea further. If it looks good to you as is mind cutting another release once it's merged?
I was periodically encountering my applications effectively locking up because of Errors stating
Async pool timeout
. In my use case I'd rather just wait indefinitely for a connection to be available throughout my application. Prior to this PRgremlin-rs
was relying on the default pool connection timeout of 30 seconds, coincidentally the same for both the sync pool (r2d2) and the async pool (mobc) providers.This PR will allow users of the library to modify the timeout, and possibly, for the async pool, opt out of a timeout all together.
@wolf4ood jumped to a PR, but happy to open an issue if you'd like to talk & refine the idea further. If it looks good to you as is mind cutting another release once it's merged?