[Performance] Significantly Improve Client Network Resends (#4629)

* [Performance] Significantly Improve Client Network Resends

* Update daybreak_connection.cpp

* Improve resend algorithm to be exact about when to resend
This commit is contained in:
Chris Miles
2025-01-31 22:23:08 -06:00
committed by GitHub
parent c966f26ac1
commit 08c8e0d81f
2 changed files with 97 additions and 52 deletions
+5
View File
@@ -181,6 +181,11 @@ namespace EQ
Timestamp m_close_time;
double m_outgoing_budget;
// resend tracking
size_t m_resend_packets_sent = 0;
size_t m_resend_bytes_sent = 0;
bool m_acked_since_last_resend = false;
struct DaybreakSentPacket
{
DynamicPacket packet;