try reduce number of this webrequest will keep alive anf gc will possible forget to release. this higher numbers should be only relative to robuts, generic connectiosn should have a lot less. But hard to control on current code

This commit is contained in:
UbitUmarov
2020-09-07 18:08:20 +01:00
parent 649e44792b
commit 650e6bbe55
2 changed files with 6 additions and 4 deletions

View File

@@ -80,7 +80,9 @@ namespace OpenSim.Server
Culture.SetCurrentCulture();
Culture.SetDefaultCurrentCulture();
ServicePointManager.DefaultConnectionLimit = 64;
ServicePointManager.DefaultConnectionLimit = 32;
ServicePointManager.MaxServicePointIdleTime = 30000;
ServicePointManager.Expect100Continue = false;
ServicePointManager.UseNagleAlgorithm = false;
ServicePointManager.ServerCertificateValidationCallback = ValidateServerCertificate;