diff options
Diffstat (limited to 'OpenSim')
3 files changed, 13 insertions, 6 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs index 3e10335..03f0a04 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs | |||
@@ -204,9 +204,12 @@ namespace OpenSim.Region.ClientStack.Linden | |||
204 | { | 204 | { |
205 | while(true) | 205 | while(true) |
206 | { | 206 | { |
207 | aPollRequest poolreq = m_queue.Dequeue(); | 207 | aPollRequest poolreq = m_queue.Dequeue(1000); |
208 | if(m_NumberScenes <= 0) | ||
209 | return; | ||
208 | Watchdog.UpdateThread(); | 210 | Watchdog.UpdateThread(); |
209 | poolreq.thepoll.Process(poolreq); | 211 | if(poolreq.reqID != UUID.Zero) |
212 | poolreq.thepoll.Process(poolreq); | ||
210 | } | 213 | } |
211 | } | 214 | } |
212 | 215 | ||
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs index a9e8cf9..8ef943c 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs | |||
@@ -415,9 +415,12 @@ namespace OpenSim.Region.ClientStack.Linden | |||
415 | { | 415 | { |
416 | while (true) | 416 | while (true) |
417 | { | 417 | { |
418 | aPollRequest poolreq = m_queue.Dequeue(); | 418 | aPollRequest poolreq = m_queue.Dequeue(2000); |
419 | if(m_NumberScenes <= 0) | ||
420 | return; | ||
419 | Watchdog.UpdateThread(); | 421 | Watchdog.UpdateThread(); |
420 | poolreq.thepoll.Process(poolreq); | 422 | if(poolreq.reqID != UUID.Zero) |
423 | poolreq.thepoll.Process(poolreq); | ||
421 | } | 424 | } |
422 | } | 425 | } |
423 | 426 | ||
diff --git a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs index 46cd727..62d13fc 100644 --- a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs +++ b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | |||
@@ -359,8 +359,9 @@ namespace OpenSim.Services.Connectors | |||
359 | 359 | ||
360 | while (true) | 360 | while (true) |
361 | { | 361 | { |
362 | r = m_requestQueue.Dequeue(); | 362 | r = m_requestQueue.Dequeue(2000); |
363 | 363 | if(r== null) | |
364 | continue; | ||
364 | string uri = r.uri; | 365 | string uri = r.uri; |
365 | string id = r.id; | 366 | string id = r.id; |
366 | 367 | ||