minor changes

0.9.0-post-fixes
UbitUmarov 2017-05-25 04:24:23 +01:00
parent 8195cd5153
commit 65e9421058
3 changed files with 13 additions and 6 deletions

View File

@ -204,8 +204,11 @@ namespace OpenSim.Region.ClientStack.Linden
{
while(true)
{
aPollRequest poolreq = m_queue.Dequeue();
aPollRequest poolreq = m_queue.Dequeue(1000);
if(m_NumberScenes <= 0)
return;
Watchdog.UpdateThread();
if(poolreq.reqID != UUID.Zero)
poolreq.thepoll.Process(poolreq);
}
}

View File

@ -415,8 +415,11 @@ namespace OpenSim.Region.ClientStack.Linden
{
while (true)
{
aPollRequest poolreq = m_queue.Dequeue();
aPollRequest poolreq = m_queue.Dequeue(2000);
if(m_NumberScenes <= 0)
return;
Watchdog.UpdateThread();
if(poolreq.reqID != UUID.Zero)
poolreq.thepoll.Process(poolreq);
}
}

View File

@ -359,8 +359,9 @@ namespace OpenSim.Services.Connectors
while (true)
{
r = m_requestQueue.Dequeue();
r = m_requestQueue.Dequeue(2000);
if(r== null)
continue;
string uri = r.uri;
string id = r.id;