From 3f345bf685a80189c8a33ec1514c356064a6fa70 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Fri, 9 May 2008 21:33:19 +0000
Subject: * Removing polling delay for non-CAPS inventory fetch if the client
has not yet received data from the inventory service * Replaced instead with
the system now used by other requests where the fetch request is placed on a
queue and service when the data comes in
---
OpenSim/Grid/InventoryServer/GridInventoryService.cs | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
(limited to 'OpenSim/Grid/InventoryServer')
diff --git a/OpenSim/Grid/InventoryServer/GridInventoryService.cs b/OpenSim/Grid/InventoryServer/GridInventoryService.cs
index 2ba215b..80f0c5e 100644
--- a/OpenSim/Grid/InventoryServer/GridInventoryService.cs
+++ b/OpenSim/Grid/InventoryServer/GridInventoryService.cs
@@ -56,10 +56,13 @@ namespace OpenSim.Grid.InventoryServer
///
/// The user's inventory. If an inventory cannot be found then an empty collection is returned.
public InventoryCollection GetUserInventory(Guid rawUserID)
- {
+ {
LLUUID userID = new LLUUID(rawUserID);
m_log.InfoFormat("[GRID AGENT INVENTORY]: Processing request for inventory of {0}", userID);
+
+ // Uncomment me to simulate a slow responding inventory server
+ //Thread.Sleep(16000);
InventoryCollection invCollection = new InventoryCollection();
--
cgit v1.1