Restart the event queue worker threads that I accidentally disabled earlier today in 8a0a78c.

Also adds these to the watchdogs with very large timeouts (should really be infinite)
This commit is contained in:
Justin Clark-Casey (justincc)
2011-10-25 23:26:21 +01:00
parent 182908d216
commit c275c22928
2 changed files with 11 additions and 9 deletions

View File

@@ -60,12 +60,13 @@ namespace OpenSim.Framework.Servers.HttpServer
m_PollServiceWorkerThreads[i] = new PollServiceWorkerThread(m_server, pTimeout);
m_PollServiceWorkerThreads[i].ReQueue += ReQueueEvent;
// m_workerThreads[i]
// = Watchdog.StartThread(
// m_PollServiceWorkerThreads[i].ThreadStart,
// String.Format("PollServiceWorkerThread{0}", i),
// ThreadPriority.Normal,
// false);
m_workerThreads[i]
= Watchdog.StartThread(
m_PollServiceWorkerThreads[i].ThreadStart,
String.Format("PollServiceWorkerThread{0}", i),
ThreadPriority.Normal,
false,
int.MaxValue);
}
m_watcherThread
@@ -73,7 +74,8 @@ namespace OpenSim.Framework.Servers.HttpServer
this.ThreadStart,
"PollServiceWatcherThread",
ThreadPriority.Normal,
false);
false,
1000 * 60 * 10);
}
internal void ReQueueEvent(PollServiceHttpRequest req)