launchbadge/sqlx

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

Open

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

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Rust (1,307 fork)batch import
E-mediumenhancementgood first issuepool

仓库指标

Star
 (13,916 star)
PR 合并指标
 (30 天内没有已合并 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:

贡献者指南