aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/Application.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-05-29 07:48:09 +0100
committerUbitUmarov2017-05-29 07:48:09 +0100
commit91caf98308e4a5f371f9a25adfb4084ff5bfbc34 (patch)
tree2b58cac9616894717964dcc0baab223a40bdaa7b /OpenSim/Region/Application/Application.cs
parentcache endpoints (and other paths) dns requests for 5min, this delay should be... (diff)
downloadopensim-SC_OLD-91caf98308e4a5f371f9a25adfb4084ff5bfbc34.zip
opensim-SC_OLD-91caf98308e4a5f371f9a25adfb4084ff5bfbc34.tar.gz
opensim-SC_OLD-91caf98308e4a5f371f9a25adfb4084ff5bfbc34.tar.bz2
opensim-SC_OLD-91caf98308e4a5f371f9a25adfb4084ff5bfbc34.tar.xz
change servicePoint dns expire also to 5min, let the endpoints expire slide. This should reduce impact of absurd dns fails observed on my test ubuntu VM
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/Application.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs
index 447afb4..66ce8e5 100644
--- a/OpenSim/Region/Application/Application.cs
+++ b/OpenSim/Region/Application/Application.cs
@@ -79,10 +79,9 @@ namespace OpenSim
79 else 79 else
80 { 80 {
81 ServicePointManager.DefaultConnectionLimit = 12; 81 ServicePointManager.DefaultConnectionLimit = 12;
82 try { ServicePointManager.DnsRefreshTimeout = 120000; } // just is case some crazy mono decides to have it infinity
83 catch { }
84 } 82 }
85 83
84 try { ServicePointManager.DnsRefreshTimeout = 300000; } catch { }
86 ServicePointManager.Expect100Continue = false; 85 ServicePointManager.Expect100Continue = false;
87 ServicePointManager.UseNagleAlgorithm = false; 86 ServicePointManager.UseNagleAlgorithm = false;
88 87