create a new PollServiceHttpRequest req per loop since they can be sent to
another working threadavinationmerge
parent
a70352db17
commit
a0065ad616
|
@ -321,13 +321,9 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
|
|
||||||
private void PoolWorkerJob()
|
private void PoolWorkerJob()
|
||||||
{
|
{
|
||||||
PollServiceHttpRequest req;
|
|
||||||
StreamReader str;
|
|
||||||
|
|
||||||
// while (true)
|
|
||||||
while (m_running)
|
while (m_running)
|
||||||
{
|
{
|
||||||
req = m_requests.Dequeue(5000);
|
PollServiceHttpRequest req = m_requests.Dequeue(5000);
|
||||||
|
|
||||||
Watchdog.UpdateThread();
|
Watchdog.UpdateThread();
|
||||||
if (req != null)
|
if (req != null)
|
||||||
|
|
Loading…
Reference in New Issue