Add [Startup] JobEngineEnabled setting that allows the job engine to be disabled for testing purposes if necessary.
parent
28d1dbfee4
commit
59b38f842a
|
@ -337,7 +337,9 @@ namespace OpenSim
|
||||||
{
|
{
|
||||||
// Called from base.StartUp()
|
// Called from base.StartUp()
|
||||||
|
|
||||||
Watchdog.JobEngine.Start();
|
IConfig startupConfig = Config.Configs["Startup"];
|
||||||
|
if (startupConfig != null && startupConfig.GetBoolean("JobEngineEnabled", true))
|
||||||
|
Watchdog.JobEngine.Start();
|
||||||
|
|
||||||
m_httpServerPort = m_networkServersInfo.HttpListenerPort;
|
m_httpServerPort = m_networkServersInfo.HttpListenerPort;
|
||||||
SceneManager.OnRestartSim += HandleRestartRegion;
|
SceneManager.OnRestartSim += HandleRestartRegion;
|
||||||
|
|
|
@ -67,6 +67,10 @@
|
||||||
; when running with the SmartThreadPool option above
|
; when running with the SmartThreadPool option above
|
||||||
MaxPoolThreads = 300
|
MaxPoolThreads = 300
|
||||||
|
|
||||||
|
; Allow certain jobs to be run consecutively in a job engine rather than always concurrently.
|
||||||
|
; This improves performance in regions with large numbers of connections (in the hundreds).
|
||||||
|
JobEngineEnabled = true
|
||||||
|
|
||||||
; Plugin Registry Location
|
; Plugin Registry Location
|
||||||
; Set path to directory for plugin registry. Information about the
|
; Set path to directory for plugin registry. Information about the
|
||||||
; registered repositories and installed plugins will be stored here.
|
; registered repositories and installed plugins will be stored here.
|
||||||
|
|
Loading…
Reference in New Issue