aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSim.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Application/OpenSim.cs')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index fcc8717..ee4ddf4 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -37,6 +37,7 @@ using System.Runtime;
37using System.Text; 37using System.Text;
38using System.Text.RegularExpressions; 38using System.Text.RegularExpressions;
39using System.Timers; 39using System.Timers;
40using System.Net;
40using log4net; 41using log4net;
41using NDesk.Options; 42using NDesk.Options;
42using Nini.Config; 43using Nini.Config;
@@ -119,6 +120,9 @@ namespace OpenSim
119 stpMinThreads = startupConfig.GetInt("MinPoolThreads", 2 ); 120 stpMinThreads = startupConfig.GetInt("MinPoolThreads", 2 );
120 stpMaxThreads = startupConfig.GetInt("MaxPoolThreads", 25); 121 stpMaxThreads = startupConfig.GetInt("MaxPoolThreads", 25);
121 m_consolePrompt = startupConfig.GetString("ConsolePrompt", @"Region (\R) "); 122 m_consolePrompt = startupConfig.GetString("ConsolePrompt", @"Region (\R) ");
123
124 int dnsTimeout = startupConfig.GetInt("DnsTimeout", 30000);
125 try { ServicePointManager.DnsRefreshTimeout = dnsTimeout; } catch { }
122 } 126 }
123 127
124 if (Util.FireAndForgetMethod == FireAndForgetMethod.SmartThreadPool) 128 if (Util.FireAndForgetMethod == FireAndForgetMethod.SmartThreadPool)