Skip to content

Commit

Permalink
Revert "add yield to loop for udp relay down stream speed low"
Browse files Browse the repository at this point in the history
This reverts commit fd4f1f1.
  • Loading branch information
zonyitoo committed Jun 29, 2022
1 parent ed4bea6 commit 5916909
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ impl Socks5UdpServer {
err
);
}
tokio::task::yield_now().await
}
}
}
Expand Down
1 change: 0 additions & 1 deletion crates/shadowsocks-service/src/server/udprelay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ impl UdpServer {
// If Result is error, the channel receiver is closed. We should exit the task.
break;
}
tokio::task::yield_now().await
}
}));
}
Expand Down

0 comments on commit 5916909

Please sign in to comment.