Pool should spawn a task when connecting in acquire()
#3513
Labels
E-medium
enhancement
New feature or request
good first issue
Good for newcomers
pool
Related to SQLx's included connection pool
This way, if the
acquire()
call is cancelled or times out, the connection can still go through.The connection task should have its own separate timeout, possibly surfaced as
PoolOptions::connect_timeout()
.This will likely fix:
The text was updated successfully, but these errors were encountered: