diff options
author | Justin Clarke Casey | 2008-04-10 17:44:19 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-04-10 17:44:19 +0000 |
commit | b41abbd50e82103865c8c9540a4154fc689e37a9 (patch) | |
tree | 85b8a7f72a6260e6f77ec02250616cff7a25fc22 /OpenSim/Grid/InventoryServer | |
parent | * Refactor GetUsersInventory() (diff) | |
download | opensim-SC-b41abbd50e82103865c8c9540a4154fc689e37a9.zip opensim-SC-b41abbd50e82103865c8c9540a4154fc689e37a9.tar.gz opensim-SC-b41abbd50e82103865c8c9540a4154fc689e37a9.tar.bz2 opensim-SC-b41abbd50e82103865c8c9540a4154fc689e37a9.tar.xz |
* Minor: really just comment and subsequent indentation adjustment. Preparation for handling inventory problems where the inventory server receives a request and never responds, or is late in responding
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); |