Daybreak connection setting tweaks

This commit is contained in:
KimLS
2017-04-26 22:58:36 -07:00
parent 6d59baffaf
commit 8d391a7e3f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1061,7 +1061,7 @@ void EQ::Net::DaybreakConnection::Ack(int stream, uint16_t seq)
m_stats.max_ping = std::max(m_stats.max_ping, round_time);
m_stats.min_ping = std::min(m_stats.min_ping, round_time);
m_stats.last_ping = round_time;
m_rolling_ping = (m_rolling_ping * 3 + round_time) / 4;
m_rolling_ping = (m_rolling_ping * 2 + round_time) / 3;
iter = s->sent_packets.erase(iter);
}