reduce ping filter time constant

avinationmerge
UbitUmarov 2014-08-14 21:04:30 +01:00
parent 8c657e4837
commit a46d6004df
1 changed files with 1 additions and 1 deletions

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;