Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pool): use .fuse()
Browse files Browse the repository at this point in the history
abonander committed Nov 11, 2024
1 parent c2784eb commit 0f6e085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlx-core/src/pool/inner.rs
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ impl<DB: Database> PoolInner<DB> {

// Keep clearing the idle queue as connections are released until the count reaches zero.
async move {
let mut drained = pin!(self.counter.drain());
let mut drained = pin!(self.counter.drain().fuse());

loop {
select! {

0 comments on commit 0f6e085

Please sign in to comment.