diff options
author | UbitUmarov | 2017-05-12 16:45:58 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-12 16:45:58 +0100 |
commit | 948138a3a4ed08b96b12a31049e658c570345a10 (patch) | |
tree | 986744d629d4ecca09a3e082d729c0ebcdc35da7 /OpenSim | |
parent | revert changes to *exe.config since a host mask of * produces identical effec... (diff) | |
download | opensim-SC_OLD-948138a3a4ed08b96b12a31049e658c570345a10.zip opensim-SC_OLD-948138a3a4ed08b96b12a31049e658c570345a10.tar.gz opensim-SC_OLD-948138a3a4ed08b96b12a31049e658c570345a10.tar.bz2 opensim-SC_OLD-948138a3a4ed08b96b12a31049e658c570345a10.tar.xz |
lower connection limits again
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Application/Application.cs | 6 | ||||
-rw-r--r-- | OpenSim/Server/ServerMain.cs | 2 |
2 files changed, 6 insertions, 2 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 |
diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs index 74bb163..6938db7 100644 --- a/OpenSim/Server/ServerMain.cs +++ b/OpenSim/Server/ServerMain.cs | |||
@@ -54,7 +54,7 @@ namespace OpenSim.Server | |||
54 | 54 | ||
55 | public static int Main(string[] args) | 55 | public static int Main(string[] args) |
56 | { | 56 | { |
57 | ServicePointManager.DefaultConnectionLimit = 4096; | 57 | ServicePointManager.DefaultConnectionLimit = 64; |
58 | ServicePointManager.UseNagleAlgorithm = false; | 58 | ServicePointManager.UseNagleAlgorithm = false; |
59 | 59 | ||
60 | m_Server = new HttpServerBase("R.O.B.U.S.T.", args); | 60 | m_Server = new HttpServerBase("R.O.B.U.S.T.", args); |