diff options
author | UbitUmarov | 2017-06-29 21:14:20 +0100 |
---|---|---|
committer | UbitUmarov | 2017-06-29 21:14:20 +0100 |
commit | 190874344b21a77037bc04114eb3347b944af55f (patch) | |
tree | 9586982013e20b438e538208e16e53215bc46c5d /OpenSim/Region | |
parent | bug fix (diff) | |
download | opensim-SC-190874344b21a77037bc04114eb3347b944af55f.zip opensim-SC-190874344b21a77037bc04114eb3347b944af55f.tar.gz opensim-SC-190874344b21a77037bc04114eb3347b944af55f.tar.bz2 opensim-SC-190874344b21a77037bc04114eb3347b944af55f.tar.xz |
ScriptsHttpReq does not need a permanent thread
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs index 57dc556..f5b575b 100644 --- a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs +++ b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs | |||
@@ -379,9 +379,9 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest | |||
379 | if (ThreadPool == null) | 379 | if (ThreadPool == null) |
380 | { | 380 | { |
381 | STPStartInfo startInfo = new STPStartInfo(); | 381 | STPStartInfo startInfo = new STPStartInfo(); |
382 | startInfo.IdleTimeout = 20000; | 382 | startInfo.IdleTimeout = 2000; |
383 | startInfo.MaxWorkerThreads = maxThreads; | 383 | startInfo.MaxWorkerThreads = maxThreads; |
384 | startInfo.MinWorkerThreads = 1; | 384 | startInfo.MinWorkerThreads = 0; |
385 | startInfo.ThreadPriority = ThreadPriority.BelowNormal; | 385 | startInfo.ThreadPriority = ThreadPriority.BelowNormal; |
386 | startInfo.StartSuspended = true; | 386 | startInfo.StartSuspended = true; |
387 | startInfo.ThreadPoolName = "ScriptsHttpReq"; | 387 | startInfo.ThreadPoolName = "ScriptsHttpReq"; |