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:

貢獻者指南