mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-22 23:58:48 -05:00
Increase Peer max_packets_per_second (hopefully doesn't break anything)
This commit is contained in:
parent
e1f5227304
commit
98404ad8ea
@ -463,7 +463,7 @@ void Peer::reportRTT(float rtt)
|
|||||||
{
|
{
|
||||||
if(rtt >= 0.0){
|
if(rtt >= 0.0){
|
||||||
if(rtt < 0.01){
|
if(rtt < 0.01){
|
||||||
if(m_max_packets_per_second < 100)
|
if(m_max_packets_per_second < 400)
|
||||||
m_max_packets_per_second += 10;
|
m_max_packets_per_second += 10;
|
||||||
} else if(rtt < 0.2){
|
} else if(rtt < 0.2){
|
||||||
if(m_max_packets_per_second < 100)
|
if(m_max_packets_per_second < 100)
|
||||||
|
Loading…
Reference in New Issue
Block a user