mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Change health reporting thresholds, correct a typo
This commit is contained in:
@@ -5452,19 +5452,19 @@ Label_GroupsDone:
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((Util.EnvironmentTickCountSubtract(m_lastFrameTick)) < 2000)
|
||||
if ((Util.EnvironmentTickCountSubtract(m_lastFrameTick)) < 4000)
|
||||
{
|
||||
health+=1;
|
||||
flags |= 1;
|
||||
}
|
||||
|
||||
if (Util.EnvironmentTickCountSubtract(m_lastIncoming) < 2000)
|
||||
if (Util.EnvironmentTickCountSubtract(m_lastIncoming) < 6000)
|
||||
{
|
||||
health+=1;
|
||||
flags |= 2;
|
||||
}
|
||||
|
||||
if (Util.EnvironmentTickCountSubtract(m_lastOutgoing) < 2000)
|
||||
if (Util.EnvironmentTickCountSubtract(m_lastOutgoing) < 6000)
|
||||
{
|
||||
health+=1;
|
||||
flags |= 4;
|
||||
@@ -6012,7 +6012,7 @@ Environment.Exit(1);
|
||||
case 1: // Incoming
|
||||
m_lastIncoming = Util.EnvironmentTickCount();
|
||||
break;
|
||||
case 2: // Incoming
|
||||
case 2: // Outgoing
|
||||
m_lastOutgoing = Util.EnvironmentTickCount();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user