Set connection limit to 20 for all servers.

avinationmerge
Melanie Thielker 2014-10-13 23:22:18 +02:00
parent 47fdd7f91a
commit c19183932e
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,10 @@ namespace OpenSim.Server
public static int Main(string[] args) 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); m_Server = new HttpServerBase("R.O.B.U.S.T.", args);
string registryLocation; string registryLocation;