allow sync conn with conn list when conn bitmap is too large (#1508)

This commit is contained in:
Sijie.Sun
2025-10-23 08:11:36 +08:00
committed by GitHub
parent 7485f5f64e
commit 71679e889a
5 changed files with 289 additions and 105 deletions
+12
View File
@@ -38,6 +38,18 @@ impl PeerGroupInfo {
}
}
impl From<RouteConnBitmap> for sync_route_info_request::ConnInfo {
fn from(val: RouteConnBitmap) -> Self {
Self::ConnBitmap(val)
}
}
impl From<RouteConnPeerList> for sync_route_info_request::ConnInfo {
fn from(val: RouteConnPeerList) -> Self {
Self::ConnPeerList(val)
}
}
#[cfg(test)]
mod tests {
use super::*;