Enable biased again
This commit is contained in:
parent
1f4ca74cf9
commit
5a7c4aa781
1 changed files with 2 additions and 0 deletions
|
@ -215,6 +215,8 @@ impl<'a> ConnDuplex<'a> {
|
|||
pub async fn run_to_completion(mut self) -> io::Result<()> {
|
||||
loop {
|
||||
tokio::select! {
|
||||
biased;
|
||||
|
||||
msg = self.upstream_read.read() => {
|
||||
control_flow!(self.handle_s2c_event(msg?).await?);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue