Some changes to the outbound queue and default settings

This commit is contained in:
KimLS 2017-06-23 21:52:28 -07:00
parent 1cabb091e7
commit a7c239b801
2 changed files with 3 additions and 2 deletions

View File

@ -366,7 +366,6 @@ void EQ::Net::DaybreakConnection::Process()
}
ProcessInboundQueue();
ProcessOutboundQueue();
}
catch (std::exception ex) {
LogF(Logs::Detail, Logs::Netcode, "Error processing connection: {0}", ex.what());
@ -1091,6 +1090,7 @@ void EQ::Net::DaybreakConnection::Ack(int stream, uint16_t seq)
s->outstanding_bytes -= iter->second.packet.Length();
iter = s->outstanding_packets.erase(iter);
ProcessOutboundQueue();
}
else {
++iter;
@ -1113,6 +1113,7 @@ void EQ::Net::DaybreakConnection::OutOfOrderAck(int stream, uint16_t seq)
s->outstanding_bytes -= iter->second.packet.Length();
s->outstanding_packets.erase(iter);
ProcessOutboundQueue();
}
}

View File

@ -236,7 +236,7 @@ namespace EQ
tic_rate_hertz = 60.0;
resend_timeout = 90000;
connection_close_time = 2000;
max_outstanding_packets = 200;
max_outstanding_packets = 300;
max_outstanding_bytes = 200 * 512;
}