Skip to content

Commit

Permalink
rebase main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Millione committed Aug 8, 2024
1 parent 28c5612 commit 1460383
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion volo-thrift/src/transport/multiplex/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ where
}
if cx.transport.should_reuse && resp.is_ok() {
if let Transport::Pooled(pooled) = transport {
pooled.reuse();
pooled.reuse().await;
}
}
resp
Expand Down
2 changes: 1 addition & 1 deletion volo-thrift/src/transport/pool/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ impl<E: Encoder, D: Decoder> Transport<Address, ThriftTransport<E, D>> {
pub async fn reuse(self) {
match self {
Transport::Pooled(pooled) => {
pooled.reuse();
pooled.reuse().await;
}
Transport::UnPooled(t) => {
t.reuse().await;
Expand Down

0 comments on commit 1460383

Please sign in to comment.