Skip to content

Commit 1460383

Browse files
committed
rebase main branch
1 parent 28c5612 commit 1460383

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

volo-thrift/src/transport/multiplex/client.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ where
158158
}
159159
if cx.transport.should_reuse && resp.is_ok() {
160160
if let Transport::Pooled(pooled) = transport {
161-
pooled.reuse();
161+
pooled.reuse().await;
162162
}
163163
}
164164
resp

volo-thrift/src/transport/pool/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ impl<E: Encoder, D: Decoder> Transport<Address, ThriftTransport<E, D>> {
424424
pub async fn reuse(self) {
425425
match self {
426426
Transport::Pooled(pooled) => {
427-
pooled.reuse();
427+
pooled.reuse().await;
428428
}
429429
Transport::UnPooled(t) => {
430430
t.reuse().await;

0 commit comments

Comments
 (0)