diff options
author | UbitUmarov | 2014-10-13 12:10:13 +0100 |
---|---|---|
committer | UbitUmarov | 2014-10-13 12:10:13 +0100 |
commit | a301bad8ad047f4acf122d5b47be8d81c371c3c3 (patch) | |
tree | 1406693ab81a363f5e2522fb02e08ed0f7dbad60 /OpenSim/Region/Application/OpenSim.cs | |
parent | name the thread (diff) | |
download | opensim-SC-a301bad8ad047f4acf122d5b47be8d81c371c3c3.zip opensim-SC-a301bad8ad047f4acf122d5b47be8d81c371c3c3.tar.gz opensim-SC-a301bad8ad047f4acf122d5b47be8d81c371c3c3.tar.bz2 opensim-SC-a301bad8ad047f4acf122d5b47be8d81c371c3c3.tar.xz |
on util thread pool reduce the min number of threads, increase the
maximum and increase the idle time before release to OS
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index e1e3d87..369e79d 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -113,8 +113,8 @@ namespace OpenSim | |||
113 | if (!String.IsNullOrEmpty(asyncCallMethodStr) && Utils.EnumTryParse<FireAndForgetMethod>(asyncCallMethodStr, out asyncCallMethod)) | 113 | if (!String.IsNullOrEmpty(asyncCallMethodStr) && Utils.EnumTryParse<FireAndForgetMethod>(asyncCallMethodStr, out asyncCallMethod)) |
114 | Util.FireAndForgetMethod = asyncCallMethod; | 114 | Util.FireAndForgetMethod = asyncCallMethod; |
115 | 115 | ||
116 | stpMinThreads = startupConfig.GetInt("MinPoolThreads", 15); | 116 | stpMinThreads = startupConfig.GetInt("MinPoolThreads", 2 ); |
117 | stpMaxThreads = startupConfig.GetInt("MaxPoolThreads", 15); | 117 | stpMaxThreads = startupConfig.GetInt("MaxPoolThreads", 25); |
118 | m_consolePrompt = startupConfig.GetString("ConsolePrompt", @"Region (\R) "); | 118 | m_consolePrompt = startupConfig.GetString("ConsolePrompt", @"Region (\R) "); |
119 | } | 119 | } |
120 | 120 | ||