mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
reduce ping filter time constant
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user