aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 638187b..7872a6e 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -381,6 +381,12 @@ namespace OpenSim.Region.Framework.Scenes
381 m_defaultScriptEngine = startupConfig.GetString("DefaultScriptEngine", "DotNetEngine"); 381 m_defaultScriptEngine = startupConfig.GetString("DefaultScriptEngine", "DotNetEngine");
382 382
383 m_maxPrimsPerFrame = startupConfig.GetInt("MaxPrimsPerFrame", 200); 383 m_maxPrimsPerFrame = startupConfig.GetInt("MaxPrimsPerFrame", 200);
384 IConfig packetConfig = m_config.Configs["PacketPool"];
385 if (packetConfig != null)
386 {
387 PacketPool.Instance.RecyclePackets = packetConfig.GetBoolean("RecyclePackets", true);
388 PacketPool.Instance.RecycleDataBlocks = packetConfig.GetBoolean("RecycleDataBlocks", true);
389 }
384 } 390 }
385 catch 391 catch
386 { 392 {