Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "UDP relay 传输性能随着发送速率增加极速下降" #879

Merged
merged 1 commit into from
Jun 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Revert "add yield to loop for udp relay down stream speed low"
This reverts commit fd4f1f1.
  • Loading branch information
zonyitoo committed Jun 29, 2022
commit 5eaa7a622a7ba55607fdca502655359cae7e0b62
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