aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/ServerMain.cs
diff options
context:
space:
mode:
authorMelanie Thielker2014-10-13 23:22:18 +0200
committerMelanie Thielker2014-10-13 23:22:18 +0200
commitc19183932e8daae7a178ae034985365c7af2bcb6 (patch)
treec98df564045b73c5292fd81ad835d53af2ac3ac1 /OpenSim/Server/ServerMain.cs
parentMerge branch 'ubitworkmaster' (diff)
downloadopensim-SC-c19183932e8daae7a178ae034985365c7af2bcb6.zip
opensim-SC-c19183932e8daae7a178ae034985365c7af2bcb6.tar.gz
opensim-SC-c19183932e8daae7a178ae034985365c7af2bcb6.tar.bz2
opensim-SC-c19183932e8daae7a178ae034985365c7af2bcb6.tar.xz
Set connection limit to 20 for all servers.
Diffstat (limited to 'OpenSim/Server/ServerMain.cs')
-rw-r--r--OpenSim/Server/ServerMain.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs
index 65e9287..a05effe 100644
--- a/OpenSim/Server/ServerMain.cs
+++ b/OpenSim/Server/ServerMain.cs
@@ -53,6 +53,10 @@ namespace OpenSim.Server
53 53
54 public static int Main(string[] args) 54 public static int Main(string[] args)
55 { 55 {
56 // Make sure we don't get outbound connections queueing
57 ServicePointManager.DefaultConnectionLimit = 50;
58 ServicePointManager.UseNagleAlgorithm = false;
59
56 m_Server = new HttpServerBase("R.O.B.U.S.T.", args); 60 m_Server = new HttpServerBase("R.O.B.U.S.T.", args);
57 61
58 string registryLocation; 62 string registryLocation;