diff options
author | Diva Canto | 2015-06-03 17:42:41 -0700 |
---|---|---|
committer | Diva Canto | 2015-06-03 17:42:41 -0700 |
commit | bac53387a9868f3765175179aecd3b97981d54a0 (patch) | |
tree | 68856ca9441d200d5ef83d7d616fdb9a94b91473 /OpenSim/Capabilities/Handlers/FetchInventory/FetchInventory2Handler.cs | |
parent | I suspect the viewer doesn't need the target of linked items inside linked fo... (diff) | |
download | opensim-SC-bac53387a9868f3765175179aecd3b97981d54a0.zip opensim-SC-bac53387a9868f3765175179aecd3b97981d54a0.tar.gz opensim-SC-bac53387a9868f3765175179aecd3b97981d54a0.tar.bz2 opensim-SC-bac53387a9868f3765175179aecd3b97981d54a0.tar.xz |
Mantis #7567: added an 8-sec expiring item cache to the inventory network connector. This fixed the problem on my local test grid and generally made things faster. This cache has been needed for a while... there are many parts in the code where the sim gets an item multiple times in a short amount of time (rezzing attachs and objects, for example).
Other minor changes:
- added the scene as a parameter to the constructor od FetchInvDescHandler, so that I could see in which scene the handler was being called
- brought linked items in linked folders back to being prefetched
Diffstat (limited to 'OpenSim/Capabilities/Handlers/FetchInventory/FetchInventory2Handler.cs')
-rw-r--r-- | OpenSim/Capabilities/Handlers/FetchInventory/FetchInventory2Handler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInventory2Handler.cs b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInventory2Handler.cs index 0832b02..c904392 100644 --- a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInventory2Handler.cs +++ b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInventory2Handler.cs | |||
@@ -54,7 +54,7 @@ namespace OpenSim.Capabilities.Handlers | |||
54 | 54 | ||
55 | public string FetchInventoryRequest(string request, string path, string param, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) | 55 | public string FetchInventoryRequest(string request, string path, string param, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) |
56 | { | 56 | { |
57 | // m_log.DebugFormat("[FETCH INVENTORY HANDLER]: Received FetchInventory capabilty request"); | 57 | //m_log.DebugFormat("[FETCH INVENTORY HANDLER]: Received FetchInventory capability request {0}", request); |
58 | 58 | ||
59 | OSDMap requestmap = (OSDMap)OSDParser.DeserializeLLSDXml(Utils.StringToBytes(request)); | 59 | OSDMap requestmap = (OSDMap)OSDParser.DeserializeLLSDXml(Utils.StringToBytes(request)); |
60 | OSDArray itemsRequested = (OSDArray)requestmap["items"]; | 60 | OSDArray itemsRequested = (OSDArray)requestmap["items"]; |