diff options
Diffstat (limited to 'OpenSim/Region/Application/OpenSim.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 4 |
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; | |||
37 | using System.Text; | 37 | using System.Text; |
38 | using System.Text.RegularExpressions; | 38 | using System.Text.RegularExpressions; |
39 | using System.Timers; | 39 | using System.Timers; |
40 | using System.Net; | ||
40 | using log4net; | 41 | using log4net; |
41 | using NDesk.Options; | 42 | using NDesk.Options; |
42 | using Nini.Config; | 43 | using 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) |