From 98404ad8ea48a7bb77034a6a2aa1bc7d4be4ddb4 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 11 Mar 2012 00:15:45 +0200 Subject: [PATCH] Increase Peer max_packets_per_second (hopefully doesn't break anything) --- src/connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)