mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
change wrong watchdog stopped thread check code, and don't log it
This commit is contained in:
@@ -511,8 +511,6 @@ namespace OpenSim
|
||||
private void WatchdogTimeoutHandler(Watchdog.ThreadWatchdogInfo twi)
|
||||
{
|
||||
int now = Environment.TickCount & Int32.MaxValue;
|
||||
if(twi.Thread.ThreadState == System.Threading.ThreadState.Stopped)
|
||||
return;
|
||||
m_log.ErrorFormat(
|
||||
"[WATCHDOG]: Timeout detected for thread \"{0}\". ThreadState={1}. Last tick was {2}ms ago. {3}",
|
||||
twi.Thread.Name,
|
||||
|
||||
Reference in New Issue
Block a user