diff options
Diffstat (limited to 'OpenSim/Grid/InventoryServer')
-rw-r--r-- | OpenSim/Grid/InventoryServer/GridInventoryService.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Grid/InventoryServer/GridInventoryService.cs b/OpenSim/Grid/InventoryServer/GridInventoryService.cs index e30c31e..1ae5243 100644 --- a/OpenSim/Grid/InventoryServer/GridInventoryService.cs +++ b/OpenSim/Grid/InventoryServer/GridInventoryService.cs | |||
@@ -27,7 +27,10 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Threading; | ||
31 | |||
30 | using libsecondlife; | 32 | using libsecondlife; |
33 | |||
31 | using OpenSim.Framework; | 34 | using OpenSim.Framework; |
32 | using OpenSim.Framework.Communications; | 35 | using OpenSim.Framework.Communications; |
33 | using OpenSim.Framework.Console; | 36 | using OpenSim.Framework.Console; |
@@ -103,6 +106,9 @@ namespace OpenSim.Grid.InventoryServer | |||
103 | /// <returns>The user's inventory. If an inventory cannot be found then an empty collection is returned.</returns> | 106 | /// <returns>The user's inventory. If an inventory cannot be found then an empty collection is returned.</returns> |
104 | public InventoryCollection GetUserInventory(Guid rawUserID) | 107 | public InventoryCollection GetUserInventory(Guid rawUserID) |
105 | { | 108 | { |
109 | // uncomment me to simulate an overloaded inventory server | ||
110 | //Thread.Sleep(40000); | ||
111 | |||
106 | LLUUID userID = new LLUUID(rawUserID); | 112 | LLUUID userID = new LLUUID(rawUserID); |
107 | 113 | ||
108 | m_log.InfoFormat("[AGENT INVENTORY]: Processing request for inventory of {0}", userID); | 114 | m_log.InfoFormat("[AGENT INVENTORY]: Processing request for inventory of {0}", userID); |