diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index f27a144..3b48362 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -160,15 +160,15 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
160 | } | 160 | } |
161 | 161 | ||
162 | int minThreads = m_ScriptConfig.GetInt("MinThreads", 2); | 162 | int minThreads = m_ScriptConfig.GetInt("MinThreads", 2); |
163 | int maxThreads = m_ScriptConfig.GetInt("MaxThreads", 2); | 163 | int maxThreads = m_ScriptConfig.GetInt("MaxThreads", 100); |
164 | int idleTimeout = m_ScriptConfig.GetInt("IdleTimeout", 60); | 164 | int idleTimeout = m_ScriptConfig.GetInt("IdleTimeout", 60); |
165 | string priority = m_ScriptConfig.GetString("Priority", "BelowNormal"); | 165 | string priority = m_ScriptConfig.GetString("Priority", "BelowNormal"); |
166 | int maxScriptQueue = m_ScriptConfig.GetInt("MaxScriptEventQueue",300); | 166 | int maxScriptQueue = m_ScriptConfig.GetInt("MaxScriptEventQueue",300); |
167 | int stackSize = m_ScriptConfig.GetInt("ThreadStackSize", 262144); | 167 | int stackSize = m_ScriptConfig.GetInt("ThreadStackSize", 262144); |
168 | int sleepTime = m_ScriptConfig.GetInt("MaintenanceInterval", 10)*1000; | 168 | int sleepTime = m_ScriptConfig.GetInt("MaintenanceInterval", 10) * 1000; |
169 | m_EventLimit = m_ScriptConfig.GetInt("EventLimit", 30); | 169 | m_EventLimit = m_ScriptConfig.GetInt("EventLimit", 30); |
170 | m_KillTimedOutScripts = m_ScriptConfig.GetBoolean("KillTimedOutScripts", false); | 170 | m_KillTimedOutScripts = m_ScriptConfig.GetBoolean("KillTimedOutScripts", false); |
171 | int saveTime = m_ScriptConfig.GetInt("SaveInterval", 300)*1000; | 171 | int saveTime = m_ScriptConfig.GetInt("SaveInterval", 120) * 1000; |
172 | 172 | ||
173 | ThreadPriority prio = ThreadPriority.BelowNormal; | 173 | ThreadPriority prio = ThreadPriority.BelowNormal; |
174 | switch (priority) | 174 | switch (priority) |