main
Brett 2023-04-15 21:16:31 -04:00
parent b336a143a6
commit 0a03b1f913
1 changed files with 1 additions and 0 deletions

View File

@ -167,6 +167,7 @@ public class Server implements Runnable {
if (!sent.isAcknowledged() && sent.getTimeSinceSent().get() > MAX_PACKET_ACK_TIME_SECONDS) { if (!sent.isAcknowledged() && sent.getTimeSinceSent().get() > MAX_PACKET_ACK_TIME_SECONDS) {
System.out.println("The client did not acknowledge our message, did they receive it?"); System.out.println("The client did not acknowledge our message, did they receive it?");
sendMessage(sent); sendMessage(sent);
removes.add(message.getKey());
} }
} }
for (Long l : removes) for (Long l : removes)