server.java

main
Brett 2023-04-15 20:35:18 -04:00
parent 49169c3bdd
commit ceeef4b90e
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ public class Server implements Runnable {
for (Map.Entry<Long, Message.Sent> message : sentMessages.entrySet()){
if (message.getValue().getTimeSinceSent().get() > MAX_PACKET_ACK_TIME_SECONDS) {
System.out.println("The server did not process our message, did they receive it?");
// todo: resend message
sendMessage(message.getValue());
}
}
}