launchbadge/sqlx

Pool should spawn a task when connecting in `acquire()`

开放

#3,513 创建于 2024年9月20日

 (0 条评论) (0 个反应) (0 位负责人)Rust (1,307 个派生)batch import
E-mediumenhancementgood first issuepool

仓库指标

星标
 (13,916 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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:

贡献者指南