diff options
author | UbitUmarov | 2014-08-14 21:04:30 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-14 21:04:30 +0100 |
commit | a46d6004dfdc353678271e36aafff5eaafd3fd91 (patch) | |
tree | 0c2bee357487d92b4bb3240472893605677ad76d /OpenSim/Region | |
parent | add a estimator of client ping time, and painfully make it visible in show (diff) | |
download | opensim-SC_OLD-a46d6004dfdc353678271e36aafff5eaafd3fd91.zip opensim-SC_OLD-a46d6004dfdc353678271e36aafff5eaafd3fd91.tar.gz opensim-SC_OLD-a46d6004dfdc353678271e36aafff5eaafd3fd91.tar.bz2 opensim-SC_OLD-a46d6004dfdc353678271e36aafff5eaafd3fd91.tar.xz |
reduce ping filter time constant
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index 910d7cf..bd192dc 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |||
@@ -1583,7 +1583,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1583 | { | 1583 | { |
1584 | int t = Util.EnvironmentTickCountSubtract(udpClient.m_lastStartpingTimeMS); | 1584 | int t = Util.EnvironmentTickCountSubtract(udpClient.m_lastStartpingTimeMS); |
1585 | int c = udpClient.m_pingMS; | 1585 | int c = udpClient.m_pingMS; |
1586 | c = 900 * c + 100 * t; | 1586 | c = 800 * c + 200 * t; |
1587 | c /= 1000; | 1587 | c /= 1000; |
1588 | udpClient.m_pingMS = c; | 1588 | udpClient.m_pingMS = c; |
1589 | return; | 1589 | return; |