projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1f5227
)
Increase Peer max_packets_per_second (hopefully doesn't break anything)
author
Perttu Ahola
<celeron55@gmail.com>
Sat, 10 Mar 2012 22:15:45 +0000
(
00:15
+0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Sat, 10 Mar 2012 22:20:04 +0000
(
00:20
+0200)
src/connection.cpp
patch
|
blob
|
history
diff --git
a/src/connection.cpp
b/src/connection.cpp
index 8f308c99fe1321860f431e68109b58b07e9f0594..60c99dc73763b9aa3c5544f38b8a68194b940e91 100644
(file)
--- 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 <
1
00)
+ if(m_max_packets_per_second <
4
00)
m_max_packets_per_second += 10;
} else if(rtt < 0.2){
if(m_max_packets_per_second < 100)