From a78d93e8a3f16a0d57f701ca430d2d98a5233c1d Mon Sep 17 00:00:00 2001 From: Melanie Date: Fri, 31 Jan 2020 13:00:08 +0000 Subject: [PATCH] Change health reporting thresholds, correct a typo --- OpenSim/Region/Framework/Scenes/Scene.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 03f46bbe8f..eb0eda5987 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -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; }