mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 15:41:30 +00:00
Some changes to the outbound queue and default settings
This commit is contained in:
parent
1cabb091e7
commit
a7c239b801
@ -366,7 +366,6 @@ void EQ::Net::DaybreakConnection::Process()
|
|||||||
}
|
}
|
||||||
|
|
||||||
ProcessInboundQueue();
|
ProcessInboundQueue();
|
||||||
ProcessOutboundQueue();
|
|
||||||
}
|
}
|
||||||
catch (std::exception ex) {
|
catch (std::exception ex) {
|
||||||
LogF(Logs::Detail, Logs::Netcode, "Error processing connection: {0}", ex.what());
|
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();
|
s->outstanding_bytes -= iter->second.packet.Length();
|
||||||
iter = s->outstanding_packets.erase(iter);
|
iter = s->outstanding_packets.erase(iter);
|
||||||
|
ProcessOutboundQueue();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
++iter;
|
++iter;
|
||||||
@ -1113,6 +1113,7 @@ void EQ::Net::DaybreakConnection::OutOfOrderAck(int stream, uint16_t seq)
|
|||||||
|
|
||||||
s->outstanding_bytes -= iter->second.packet.Length();
|
s->outstanding_bytes -= iter->second.packet.Length();
|
||||||
s->outstanding_packets.erase(iter);
|
s->outstanding_packets.erase(iter);
|
||||||
|
ProcessOutboundQueue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -236,7 +236,7 @@ namespace EQ
|
|||||||
tic_rate_hertz = 60.0;
|
tic_rate_hertz = 60.0;
|
||||||
resend_timeout = 90000;
|
resend_timeout = 90000;
|
||||||
connection_close_time = 2000;
|
connection_close_time = 2000;
|
||||||
max_outstanding_packets = 200;
|
max_outstanding_packets = 300;
|
||||||
max_outstanding_bytes = 200 * 512;
|
max_outstanding_bytes = 200 * 512;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user