Make small adjustment to JobEngine default from previous commit to enable it when [Startup] section is not present (though this is extremely unlikely).

mb-throttle-test
Justin Clark-Casey (justincc) 2014-11-21 02:16:56 +00:00
parent 59b38f842a
commit b1fd0d35e5
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ namespace OpenSim
// Called from base.StartUp() // Called from base.StartUp()
IConfig startupConfig = Config.Configs["Startup"]; IConfig startupConfig = Config.Configs["Startup"];
if (startupConfig != null && startupConfig.GetBoolean("JobEngineEnabled", true)) if (startupConfig == null || startupConfig.GetBoolean("JobEngineEnabled", true))
Watchdog.JobEngine.Start(); Watchdog.JobEngine.Start();
m_httpServerPort = m_networkServersInfo.HttpListenerPort; m_httpServerPort = m_networkServersInfo.HttpListenerPort;