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

ghosts
Justin Clark-Casey (justincc) 2014-11-21 02:16:56 +00:00
parent c96806a3f5
commit 84d557a7bd
1 changed files with 1 additions and 1 deletions

View File

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