lower connection limits again

0.9.0-post-fixes
UbitUmarov 2017-05-12 16:45:58 +01:00
parent 566c96dc85
commit 948138a3a4
2 changed files with 6 additions and 2 deletions

View File

@ -74,7 +74,11 @@ namespace OpenSim
AppDomain.CurrentDomain.UnhandledException +=
new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
ServicePointManager.DefaultConnectionLimit = 128;
if(!Util.IsWindows())
ServicePointManager.DefaultConnectionLimit = 12;
else
ServicePointManager.DefaultConnectionLimit = 32;
ServicePointManager.UseNagleAlgorithm = false;
// Add the arguments supplied when running the application to the configuration

View File

@ -54,7 +54,7 @@ namespace OpenSim.Server
public static int Main(string[] args)
{
ServicePointManager.DefaultConnectionLimit = 4096;
ServicePointManager.DefaultConnectionLimit = 64;
ServicePointManager.UseNagleAlgorithm = false;
m_Server = new HttpServerBase("R.O.B.U.S.T.", args);