aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2017-05-12 14:20:06 +0100
committerUbitUmarov2017-05-12 14:20:06 +0100
commit0f2ab6bddd3faed35f6845e09461f818c74fa0eb (patch)
treeb1a744b71c40039c3946e26cdc58ba942996c8af /OpenSim
parentyes it is not destiny grid but destination.. thx u know who :) (diff)
downloadopensim-SC_OLD-0f2ab6bddd3faed35f6845e09461f818c74fa0eb.zip
opensim-SC_OLD-0f2ab6bddd3faed35f6845e09461f818c74fa0eb.tar.gz
opensim-SC_OLD-0f2ab6bddd3faed35f6845e09461f818c74fa0eb.tar.bz2
opensim-SC_OLD-0f2ab6bddd3faed35f6845e09461f818c74fa0eb.tar.xz
soem changes on connections limits
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Application/Application.cs2
-rw-r--r--OpenSim/Server/ServerMain.cs3
2 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs
index 5cb6a88..7b9d35d 100644
--- a/OpenSim/Region/Application/Application.cs
+++ b/OpenSim/Region/Application/Application.cs
@@ -74,7 +74,7 @@ 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 = 12; 77 ServicePointManager.DefaultConnectionLimit = 128;
78 ServicePointManager.UseNagleAlgorithm = false; 78 ServicePointManager.UseNagleAlgorithm = false;
79 79
80 // Add the arguments supplied when running the application to the configuration 80 // Add the arguments supplied when running the application to the configuration
diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs
index c343044..74bb163 100644
--- a/OpenSim/Server/ServerMain.cs
+++ b/OpenSim/Server/ServerMain.cs
@@ -54,8 +54,7 @@ namespace OpenSim.Server
54 54
55 public static int Main(string[] args) 55 public static int Main(string[] args)
56 { 56 {
57 // Make sure we don't get outbound connections queueing 57 ServicePointManager.DefaultConnectionLimit = 4096;
58 ServicePointManager.DefaultConnectionLimit = 50;
59 ServicePointManager.UseNagleAlgorithm = false; 58 ServicePointManager.UseNagleAlgorithm = false;
60 59
61 m_Server = new HttpServerBase("R.O.B.U.S.T.", args); 60 m_Server = new HttpServerBase("R.O.B.U.S.T.", args);