From c19183932e8daae7a178ae034985365c7af2bcb6 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 13 Oct 2014 23:22:18 +0200 Subject: [PATCH] Set connection limit to 20 for all servers. --- OpenSim/Server/ServerMain.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs index 65e92874e8..a05effe33b 100644 --- a/OpenSim/Server/ServerMain.cs +++ b/OpenSim/Server/ServerMain.cs @@ -53,6 +53,10 @@ namespace OpenSim.Server public static int Main(string[] args) { + // Make sure we don't get outbound connections queueing + ServicePointManager.DefaultConnectionLimit = 50; + ServicePointManager.UseNagleAlgorithm = false; + m_Server = new HttpServerBase("R.O.B.U.S.T.", args); string registryLocation;