mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Add a tweakable for the prim queue preload
This commit is contained in:
@@ -168,6 +168,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
private volatile bool shuttingdown = false;
|
||||
|
||||
private int m_lastUpdate = Environment.TickCount;
|
||||
private int m_maxPrimsPerFrame = 200;
|
||||
|
||||
private object m_deleting_scene_object = new object();
|
||||
|
||||
@@ -229,6 +230,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
get { return m_timedilation; }
|
||||
}
|
||||
|
||||
public int MaxPrimsPerFrame
|
||||
{
|
||||
get { return m_maxPrimsPerFrame; }
|
||||
set { m_maxPrimsPerFrame = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This is for llGetRegionFPS
|
||||
/// </summary>
|
||||
@@ -372,6 +379,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
m_persistAfter *= 10000000;
|
||||
|
||||
m_defaultScriptEngine = startupConfig.GetString("DefaultScriptEngine", "DotNetEngine");
|
||||
|
||||
m_maxPrimsPerFrame = startupConfig.GetInt("MaxPrimsPerFrame", 200);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user