aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs
index d27869a..c73d81b 100644
--- a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs
+++ b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs
@@ -320,7 +320,7 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest
320 m_proxyurl = config.Configs["Startup"].GetString("HttpProxy"); 320 m_proxyurl = config.Configs["Startup"].GetString("HttpProxy");
321 m_proxyexcepts = config.Configs["Startup"].GetString("HttpProxyExceptions"); 321 m_proxyexcepts = config.Configs["Startup"].GetString("HttpProxyExceptions");
322 322
323 int maxThreads = 50; 323 int maxThreads = 15;
324 324
325 IConfig httpConfig = config.Configs["HttpRequestModule"]; 325 IConfig httpConfig = config.Configs["HttpRequestModule"];
326 if (httpConfig != null) 326 if (httpConfig != null)
@@ -336,12 +336,12 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest
336 STPStartInfo startInfo = new STPStartInfo(); 336 STPStartInfo startInfo = new STPStartInfo();
337 startInfo.IdleTimeout = 20000; 337 startInfo.IdleTimeout = 20000;
338 startInfo.MaxWorkerThreads = maxThreads; 338 startInfo.MaxWorkerThreads = maxThreads;
339 startInfo.MinWorkerThreads = 5; 339 startInfo.MinWorkerThreads = 1;
340 startInfo.ThreadPriority = ThreadPriority.BelowNormal; 340 startInfo.ThreadPriority = ThreadPriority.BelowNormal;
341 startInfo.StartSuspended = true; 341 startInfo.StartSuspended = true;
342 342
343 ThreadPool = new SmartThreadPool(startInfo); 343 ThreadPool = new SmartThreadPool(startInfo);
344 344 ThreadPool.Name = "ScriptsHttpReq";
345 ThreadPool.Start(); 345 ThreadPool.Start();
346 } 346 }
347 } 347 }