aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorsacha2010-12-23 08:14:43 +0000
committersacha2010-12-23 08:14:43 +0000
commit98f0b4c72ad208e9f664d30bb6a84e0b2adf8214 (patch)
treefdf6001af7f458fed5bf6f18df9be1882eb193d4 /OpenSim/Region/Framework/Scenes/Scene.cs
parentreactivating some traces to track a dead thread (diff)
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC-98f0b4c72ad208e9f664d30bb6a84e0b2adf8214.zip
opensim-SC-98f0b4c72ad208e9f664d30bb6a84e0b2adf8214.tar.gz
opensim-SC-98f0b4c72ad208e9f664d30bb6a84e0b2adf8214.tar.bz2
opensim-SC-98f0b4c72ad208e9f664d30bb6a84e0b2adf8214.tar.xz
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index d915807..deeb817 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1093,6 +1093,7 @@ namespace OpenSim.Region.Framework.Scenes
1093 { 1093 {
1094 m_log.ErrorFormat("[SCENE]: Restarting heartbeat thread because it hasn't reported in in region {0}", RegionInfo.RegionName); 1094 m_log.ErrorFormat("[SCENE]: Restarting heartbeat thread because it hasn't reported in in region {0}", RegionInfo.RegionName);
1095 HeartbeatThread.Abort(); 1095 HeartbeatThread.Abort();
1096 Watchdog.RemoveThread(HeartbeatThread.ManagedThreadId);
1096 HeartbeatThread = null; 1097 HeartbeatThread = null;
1097 } 1098 }
1098 m_lastUpdate = Util.EnvironmentTickCount(); 1099 m_lastUpdate = Util.EnvironmentTickCount();
@@ -4801,7 +4802,7 @@ namespace OpenSim.Region.Framework.Scenes
4801 if (m_firstHeartbeat) 4802 if (m_firstHeartbeat)
4802 return; 4803 return;
4803 4804
4804 if (Util.EnvironmentTickCountSubtract(m_lastUpdate) > 2000) 4805 if (Util.EnvironmentTickCountSubtract(m_lastUpdate) > 10000)
4805 StartTimer(); 4806 StartTimer();
4806 } 4807 }
4807 4808