Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chengmiaomiao.123 committed Jan 9, 2024
1 parent bc8f85e commit 8819746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volo-thrift/src/transport/multiplex/thrift_transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ where
write_half.reset().await;
has_error = false;
let mut queue = batch_queu.lock().await;
if queue.is_empty()
while queue.is_empty()
&& !inner_read_error.load(std::sync::atomic::Ordering::Relaxed)
&& !inner_read_closed.load(std::sync::atomic::Ordering::Relaxed)
{
Expand Down

0 comments on commit 8819746

Please sign in to comment.