mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user