Skip to content

Commit 0f6e085

Browse files
committed
fix(pool): use .fuse()
1 parent c2784eb commit 0f6e085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-core/src/pool/inner.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ impl<DB: Database> PoolInner<DB> {
7777

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

8282
loop {
8383
select! {

0 commit comments

Comments
 (0)