Add count of events queued for a particular script in "scripts show" console command
parent
20a76fd224
commit
8c271802ac
|
@ -428,11 +428,16 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||||
status = "running";
|
status = "running";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Queue eq = instance.EventQueue;
|
||||||
|
|
||||||
|
lock (eq)
|
||||||
|
{
|
||||||
MainConsole.Instance.OutputFormat(
|
MainConsole.Instance.OutputFormat(
|
||||||
"{0}.{1}, item UUID {2}, prim UUID {3} @ {4} ({5})",
|
"{0}.{1}, queued events = {2}, item UUID {3}, prim UUID {4} @ {5} ({6})",
|
||||||
instance.PrimName, instance.ScriptName, instance.ItemID, instance.ObjectID,
|
instance.PrimName, instance.ScriptName, eq.Count, instance.ItemID, instance.ObjectID,
|
||||||
sop.AbsolutePosition, status);
|
sop.AbsolutePosition, status);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void HandleSuspendScript(IScriptInstance instance)
|
private void HandleSuspendScript(IScriptInstance instance)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue