only add necessary conn to alive urls (#277)

too many alive conns may cause high cpu usage and lagged broadcast
recv.
This commit is contained in:
Sijie.Sun
2024-08-25 11:12:01 +08:00
committed by GitHub
parent fc9aac42b4
commit 54c6418f97
6 changed files with 115 additions and 31 deletions

View File

@@ -30,6 +30,8 @@ message PeerConnInfo {
TunnelInfo tunnel = 5;
PeerConnStats stats = 6;
float loss_rate = 7;
bool is_client = 8;
string network_name = 9;
}
message PeerInfo {