aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/ServerMain.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-05-29 07:48:09 +0100
committerUbitUmarov2017-05-29 07:48:09 +0100
commit91caf98308e4a5f371f9a25adfb4084ff5bfbc34 (patch)
tree2b58cac9616894717964dcc0baab223a40bdaa7b /OpenSim/Server/ServerMain.cs
parentcache endpoints (and other paths) dns requests for 5min, this delay should be... (diff)
downloadopensim-SC-91caf98308e4a5f371f9a25adfb4084ff5bfbc34.zip
opensim-SC-91caf98308e4a5f371f9a25adfb4084ff5bfbc34.tar.gz
opensim-SC-91caf98308e4a5f371f9a25adfb4084ff5bfbc34.tar.bz2
opensim-SC-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 'OpenSim/Server/ServerMain.cs')
-rw-r--r--OpenSim/Server/ServerMain.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs
index accf938..69d0b74 100644
--- a/OpenSim/Server/ServerMain.cs
+++ b/OpenSim/Server/ServerMain.cs
@@ -59,8 +59,7 @@ namespace OpenSim.Server
59 ServicePointManager.Expect100Continue = false; 59 ServicePointManager.Expect100Continue = false;
60 ServicePointManager.UseNagleAlgorithm = false; 60 ServicePointManager.UseNagleAlgorithm = false;
61 61
62 try { ServicePointManager.DnsRefreshTimeout = 120000; } // just is case some mono decides to have it infinity 62 try { ServicePointManager.DnsRefreshTimeout = 300000; } catch { }
63 catch { }
64 63
65 m_Server = new HttpServerBase("R.O.B.U.S.T.", args); 64 m_Server = new HttpServerBase("R.O.B.U.S.T.", args);
66 65