actually change scripts timers, to the ini setting AsyncLLCommandLoopms ( default 100, 50 a more reasonable value that just eats a bit more cpu looping around

This commit is contained in:
UbitUmarov
2021-04-21 14:15:12 +01:00
parent b925704eb9
commit 1b9a77f08d

View File

@@ -183,9 +183,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
private void ReadConfig()
{
// cmdHandlerThreadCycleSleepms = m_ScriptEngine.Config.GetInt("AsyncLLCommandLoopms", 100);
// TODO: Make this sane again
cmdHandlerThreadCycleSleepms = 50;
cmdHandlerThreadCycleSleepms = m_ScriptEngine.Config.GetInt("AsyncLLCommandLoopms", 100);
cmdHandlerThreadCycleSleepms = Utils.Clamp(cmdHandlerThreadCycleSleepms, 25, 250);
}
/*