aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 8cd77f8..8f3ba97 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -225,6 +225,7 @@ namespace OpenSim.Region.Framework.Scenes
225 225
226 private int m_lastUpdate = Environment.TickCount; 226 private int m_lastUpdate = Environment.TickCount;
227 private int m_maxPrimsPerFrame = 200; 227 private int m_maxPrimsPerFrame = 200;
228 private bool m_firstHeartbeat = true;
228 229
229 private object m_deleting_scene_object = new object(); 230 private object m_deleting_scene_object = new object();
230 231
@@ -924,6 +925,7 @@ namespace OpenSim.Region.Framework.Scenes
924 Update(); 925 Update();
925 926
926 m_lastUpdate = Environment.TickCount; 927 m_lastUpdate = Environment.TickCount;
928 m_firstHeartbeat = false;
927 } 929 }
928 catch (ThreadAbortException) 930 catch (ThreadAbortException)
929 { 931 {
@@ -4580,6 +4582,9 @@ namespace OpenSim.Region.Framework.Scenes
4580 4582
4581 private void CheckHeartbeat() 4583 private void CheckHeartbeat()
4582 { 4584 {
4585 if (m_firstHeartbeat)
4586 return;
4587
4583 if (System.Environment.TickCount - m_lastUpdate > 2000) 4588 if (System.Environment.TickCount - m_lastUpdate > 2000)
4584 StartTimer(); 4589 StartTimer();
4585 } 4590 }