reduce ping filter time constant

This commit is contained in:
UbitUmarov
2014-08-14 21:04:30 +01:00
parent 8c657e4837
commit a46d6004df

View File

@@ -1583,7 +1583,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
{
int t = Util.EnvironmentTickCountSubtract(udpClient.m_lastStartpingTimeMS);
int c = udpClient.m_pingMS;
c = 900 * c + 100 * t;
c = 800 * c + 200 * t;
c /= 1000;
udpClient.m_pingMS = c;
return;