Add MaxPoolThreads in startup to limit the size of the thread pool used

for FireAndForget. This lets us limit concurrency to make OpenSim play nice
This commit is contained in:
Melanie
2009-10-22 02:28:53 +01:00
parent 9ec55df988
commit 8a336c6860
4 changed files with 50 additions and 34 deletions

View File

@@ -67,6 +67,8 @@ namespace OpenSim
IConfig startupConfig = m_config.Source.Configs["Startup"];
Util.SetMaxThreads(startupConfig.GetInt("MaxPoolThreads", 30));
if (startupConfig != null)
{
m_startupCommandsFile = startupConfig.GetString("startup_console_commands_file", "startup_commands.txt");