Increased interval between bursts to get better response time from client

This commit is contained in:
Josh Larson
2016-01-05 19:08:21 -06:00
parent 7978484ff8
commit c276f62efb
+1 -1
View File
@@ -199,7 +199,7 @@ public class ClientSender {
while (true) {
time = receiver.getTimeSinceLastPacket();
timeSinceBurst = (System.nanoTime() - lastBurst) / 1E6;
if (time <= timeSinceBurst || (time >= 100 && timeSinceBurst >= 300)) {
if (time <= timeSinceBurst || (time >= 100 && timeSinceBurst >= 1000)) {
synchronized (sentPackets) {
int sent = 0;
for (SequencedOutbound packet : sentPackets) {