Enable biased again

This commit is contained in:
Peter Cai 2025-03-09 16:51:03 -04:00
parent 1f4ca74cf9
commit 5a7c4aa781

View file

@ -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?);
}