aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/InventoryServer
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-04-10 17:44:19 +0000
committerJustin Clarke Casey2008-04-10 17:44:19 +0000
commitb41abbd50e82103865c8c9540a4154fc689e37a9 (patch)
tree85b8a7f72a6260e6f77ec02250616cff7a25fc22 /OpenSim/Grid/InventoryServer
parent* Refactor GetUsersInventory() (diff)
downloadopensim-SC_OLD-b41abbd50e82103865c8c9540a4154fc689e37a9.zip
opensim-SC_OLD-b41abbd50e82103865c8c9540a4154fc689e37a9.tar.gz
opensim-SC_OLD-b41abbd50e82103865c8c9540a4154fc689e37a9.tar.bz2
opensim-SC_OLD-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.cs6
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
28using System; 28using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.Threading;
31
30using libsecondlife; 32using libsecondlife;
33
31using OpenSim.Framework; 34using OpenSim.Framework;
32using OpenSim.Framework.Communications; 35using OpenSim.Framework.Communications;
33using OpenSim.Framework.Console; 36using 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);