Fix a case where an idle sim can eat 100% of a core
parent
26e3a8ee4b
commit
37b07aa9ec
|
@ -1314,7 +1314,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
maintc = Util.EnvironmentTickCountSubtract(maintc);
|
||||
maintc = (int)(m_timespan * 1000) - maintc;
|
||||
|
||||
if ((maintc < (m_timespan * 1000)) && maintc > 0)
|
||||
if (maintc > 0)
|
||||
Thread.Sleep(maintc);
|
||||
|
||||
// Tell the watchdog that this thread is still alive
|
||||
|
|
Loading…
Reference in New Issue