Increase Peer max_packets_per_second (hopefully doesn't break anything)
authorPerttu Ahola <celeron55@gmail.com>
Sat, 10 Mar 2012 22:15:45 +0000 (00:15 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 10 Mar 2012 22:20:04 +0000 (00:20 +0200)
src/connection.cpp

index 8f308c99fe1321860f431e68109b58b07e9f0594..60c99dc73763b9aa3c5544f38b8a68194b940e91 100644 (file)
@@ -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)