mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
When scripts are sleeping, don't count that as execution time
Sleeping doesn't use the CPU.
This commit is contained in:
@@ -71,7 +71,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
|
||||
TaskInventoryItem scriptItem = TaskInventoryHelpers.AddScript(m_scene.AssetService, part);
|
||||
|
||||
LSL_Api apiGrp1 = new LSL_Api();
|
||||
apiGrp1.Initialize(m_engine, part, scriptItem, null);
|
||||
apiGrp1.Initialize(m_engine, part, scriptItem, null, null);
|
||||
|
||||
// Initially long timeout to test cache
|
||||
apiGrp1.LlRequestAgentDataCacheTimeoutMs = 20000;
|
||||
|
||||
Reference in New Issue
Block a user