parent
6d5b405168
commit
774ac5e96b
|
@ -76,7 +76,7 @@ namespace OpenSim.Framework.Monitoring
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
private bool m_warnOverMaxQueue = true;
|
private bool m_warnOverMaxQueue = true;
|
||||||
|
|
||||||
private BlockingCollection<Job> m_jobQueue;
|
private BlockingCollection<Job> m_jobQueue = new BlockingCollection<Job>(new ConcurrentQueue<Job>(), 5000);
|
||||||
|
|
||||||
private CancellationTokenSource m_cancelSource;
|
private CancellationTokenSource m_cancelSource;
|
||||||
|
|
||||||
|
@ -104,7 +104,6 @@ namespace OpenSim.Framework.Monitoring
|
||||||
|
|
||||||
m_finishedProcessingAfterStop.Reset();
|
m_finishedProcessingAfterStop.Reset();
|
||||||
|
|
||||||
m_jobQueue = new BlockingCollection<Job>(new ConcurrentQueue<Job>(), 5000);
|
|
||||||
m_cancelSource = new CancellationTokenSource();
|
m_cancelSource = new CancellationTokenSource();
|
||||||
|
|
||||||
WorkManager.StartThread(
|
WorkManager.StartThread(
|
||||||
|
|
Loading…
Reference in New Issue