aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
index e8cc7d2..ea27346 100644
--- a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
+++ b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
@@ -268,12 +268,13 @@ namespace OpenSim.Framework.Communications.Cache
268 // inventory failure. 268 // inventory failure.
269 // 269 //
270 // This is a crude way of dealing with that by retrying the lookup. 270 // This is a crude way of dealing with that by retrying the lookup.
271 //BUG: This should be replaced with a async event.
271 if (!userProfile.HasInventory) 272 if (!userProfile.HasInventory)
272 { 273 {
273 int attempts = 5; 274 int attempts = 5;
274 while (attempts-- > 0) 275 while (attempts-- > 0)
275 { 276 {
276 Thread.Sleep(3000); 277 Thread.Sleep(500);
277 278
278 if (userProfile.HasInventory) 279 if (userProfile.HasInventory)
279 { 280 {
@@ -369,7 +370,7 @@ namespace OpenSim.Framework.Communications.Cache
369 "[INVENTORY CACHE]: Poll number {0} for inventory items in folder {1} for user {2}", 370 "[INVENTORY CACHE]: Poll number {0} for inventory items in folder {1} for user {2}",
370 attempts, folderID, agentID); 371 attempts, folderID, agentID);
371 372
372 Thread.Sleep(3000); 373 Thread.Sleep(500);
373 374
374 if (userProfile.HasInventory) 375 if (userProfile.HasInventory)
375 { 376 {