aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-11 00:15:45 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-11 00:20:04 +0200
commit98404ad8ea48a7bb77034a6a2aa1bc7d4be4ddb4 (patch)
tree14d1e02ca02f2187a15080bbe871727775961f14
parente1f5227304239197fd76bc26c04352f8c1f1a150 (diff)
downloadminetest-98404ad8ea48a7bb77034a6a2aa1bc7d4be4ddb4.tar.gz
minetest-98404ad8ea48a7bb77034a6a2aa1bc7d4be4ddb4.tar.bz2
minetest-98404ad8ea48a7bb77034a6a2aa1bc7d4be4ddb4.zip
Increase Peer max_packets_per_second (hopefully doesn't break anything)
-rw-r--r--src/connection.cpp2
1 files changed, 1 insertions, 1 deletions
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)