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-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=98404ad8ea48a7bb77034a6a2aa1bc7d4be4ddb4;p=zefram%2Fminetest%2Fminetest_engine.git Increase Peer max_packets_per_second (hopefully doesn't break anything) --- diff --git a/src/connection.cpp b/src/connection.cpp index 8f308c99..60c99dc7 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)