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:

貢獻者指南