From 774ac5e96b32e051d3f10d668db1391d82382c1c Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 24 Nov 2015 21:10:40 +0100 Subject: If no job engine is started at all, keep checking it's status from bombing --- OpenSim/Framework/Monitoring/JobEngine.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/Monitoring/JobEngine.cs b/OpenSim/Framework/Monitoring/JobEngine.cs index 6db9a67..75ad75d 100644 --- a/OpenSim/Framework/Monitoring/JobEngine.cs +++ b/OpenSim/Framework/Monitoring/JobEngine.cs @@ -76,7 +76,7 @@ namespace OpenSim.Framework.Monitoring /// private bool m_warnOverMaxQueue = true; - private BlockingCollection m_jobQueue; + private BlockingCollection m_jobQueue = new BlockingCollection(new ConcurrentQueue(), 5000); private CancellationTokenSource m_cancelSource; @@ -104,7 +104,6 @@ namespace OpenSim.Framework.Monitoring m_finishedProcessingAfterStop.Reset(); - m_jobQueue = new BlockingCollection(new ConcurrentQueue(), 5000); m_cancelSource = new CancellationTokenSource(); WorkManager.StartThread( @@ -338,4 +337,4 @@ namespace OpenSim.Framework.Monitoring } } } -} \ No newline at end of file +} -- cgit v1.1