aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2017-05-12 16:45:58 +0100
committerUbitUmarov2017-05-12 16:45:58 +0100
commit948138a3a4ed08b96b12a31049e658c570345a10 (patch)
tree986744d629d4ecca09a3e082d729c0ebcdc35da7 /OpenSim/Region
parentrevert changes to *exe.config since a host mask of * produces identical effec... (diff)
downloadopensim-SC-948138a3a4ed08b96b12a31049e658c570345a10.zip
opensim-SC-948138a3a4ed08b96b12a31049e658c570345a10.tar.gz
opensim-SC-948138a3a4ed08b96b12a31049e658c570345a10.tar.bz2
opensim-SC-948138a3a4ed08b96b12a31049e658c570345a10.tar.xz
lower connection limits again
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Application/Application.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs
index 7b9d35d..bd2445c 100644
--- a/OpenSim/Region/Application/Application.cs
+++ b/OpenSim/Region/Application/Application.cs
@@ -74,7 +74,11 @@ namespace OpenSim
74 AppDomain.CurrentDomain.UnhandledException += 74 AppDomain.CurrentDomain.UnhandledException +=
75 new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); 75 new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
76 76
77 ServicePointManager.DefaultConnectionLimit = 128; 77 if(!Util.IsWindows())
78 ServicePointManager.DefaultConnectionLimit = 12;
79 else
80 ServicePointManager.DefaultConnectionLimit = 32;
81
78 ServicePointManager.UseNagleAlgorithm = false; 82 ServicePointManager.UseNagleAlgorithm = false;
79 83
80 // Add the arguments supplied when running the application to the configuration 84 // Add the arguments supplied when running the application to the configuration