diff options
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs index ea30b9a..d9965b6 100644 --- a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs +++ b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | |||
@@ -60,12 +60,13 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
60 | m_PollServiceWorkerThreads[i] = new PollServiceWorkerThread(m_server, pTimeout); | 60 | m_PollServiceWorkerThreads[i] = new PollServiceWorkerThread(m_server, pTimeout); |
61 | m_PollServiceWorkerThreads[i].ReQueue += ReQueueEvent; | 61 | m_PollServiceWorkerThreads[i].ReQueue += ReQueueEvent; |
62 | 62 | ||
63 | // m_workerThreads[i] | 63 | m_workerThreads[i] |
64 | // = Watchdog.StartThread( | 64 | = Watchdog.StartThread( |
65 | // m_PollServiceWorkerThreads[i].ThreadStart, | 65 | m_PollServiceWorkerThreads[i].ThreadStart, |
66 | // String.Format("PollServiceWorkerThread{0}", i), | 66 | String.Format("PollServiceWorkerThread{0}", i), |
67 | // ThreadPriority.Normal, | 67 | ThreadPriority.Normal, |
68 | // false); | 68 | false, |
69 | int.MaxValue); | ||
69 | } | 70 | } |
70 | 71 | ||
71 | m_watcherThread | 72 | m_watcherThread |
@@ -73,7 +74,8 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
73 | this.ThreadStart, | 74 | this.ThreadStart, |
74 | "PollServiceWatcherThread", | 75 | "PollServiceWatcherThread", |
75 | ThreadPriority.Normal, | 76 | ThreadPriority.Normal, |
76 | false); | 77 | false, |
78 | 1000 * 60 * 10); | ||
77 | } | 79 | } |
78 | 80 | ||
79 | internal void ReQueueEvent(PollServiceHttpRequest req) | 81 | internal void ReQueueEvent(PollServiceHttpRequest req) |