unused peerconnection removed

This commit is contained in:
2025-11-11 21:44:18 +01:00
parent 81abf4801d
commit bcda99d3a8
2 changed files with 4 additions and 11 deletions
-5
View File
@@ -282,7 +282,6 @@ pub enum PeerCommand {
file_descriptions: Vec<GameFileDescription>,
},
SetGameDir(String),
ConnectToPeer(SocketAddr),
}
async fn initial_peer_alive_check(conn: &mut Connection) -> bool {
@@ -868,10 +867,6 @@ pub async fn run_peer(
PeerCommand::SetGameDir(game_dir) => {
handle_set_game_dir_command(&ctx, game_dir).await;
}
PeerCommand::ConnectToPeer(peer_addr) => {
log::info!("Connecting to peer: {peer_addr}");
// TODO: Implement direct peer connection
}
}
}