From: Perttu Ahola Date: Sat, 10 Mar 2012 22:15:45 +0000 (+0200) Subject: Increase Peer max_packets_per_second (hopefully doesn't break anything) X-Git-Tag: 0.4.dev-20120318~65 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=98404ad8ea48a7bb77034a6a2aa1bc7d4be4ddb4;p=oweals%2Fminetest.git Increase Peer max_packets_per_second (hopefully doesn't break anything) --- diff --git a/src/connection.cpp b/src/connection.cpp index 8f308c99f..60c99dc73 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -463,7 +463,7 @@ void Peer::reportRTT(float rtt) { if(rtt >= 0.0){ if(rtt < 0.01){ - if(m_max_packets_per_second < 100) + if(m_max_packets_per_second < 400) m_max_packets_per_second += 10; } else if(rtt < 0.2){ if(m_max_packets_per_second < 100)