Fix health reporting. This will now actually monitor the threads properly

and not just the http server. It will also restart a dead heartbeat.
avinationmerge
Melanie 2010-12-03 07:16:06 +01:00
parent ce1aedf474
commit e913e1690e
1 changed files with 3 additions and 3 deletions

View File

@ -1213,9 +1213,6 @@ namespace OpenSim.Region.Framework.Scenes
try
{
Update();
m_lastUpdate = Util.EnvironmentTickCount();
m_firstHeartbeat = false;
}
catch (ThreadAbortException)
{
@ -1405,6 +1402,9 @@ namespace OpenSim.Region.Framework.Scenes
// Tell the watchdog that this thread is still alive
Watchdog.UpdateThread();
m_lastUpdate = Util.EnvironmentTickCount();
m_firstHeartbeat = false;
}
}