UbitUmarov
ce92ee1057
cache bad folders requests for 30s. Suitcase can induce a ton of this, and viewers keep requesting
2020-07-16 18:23:17 +01:00
UbitUmarov
f326cc8901
reduce garbage on WebFetchInvDesc
2020-05-22 14:00:12 +01:00
UbitUmarov
87e97543d6
try to make inventory fetch tests happy
2018-10-07 01:36:47 +01:00
UbitUmarov
47648557c1
fix some nunit tests
2017-08-28 10:48:46 +01:00
Melanie Thielker
b16abc8166
Massive tab and trailing space cleanup
2017-01-05 19:07:37 +00:00
UbitUmarov
a2e376e993
work around some 'tests' error: contents of link folders are no longer sent
2015-11-16 18:43:11 +00:00
UbitUmarov
08187cb599
inventory mess return to the state before divas cache issue
2015-09-11 20:40:10 +01:00
UbitUmarov
7841628313
change to avn fecthinventory and webfecth.. code
2015-09-11 16:25:46 +01:00
Diva Canto
959872315f
WARNING: massive refactor to follow libomv's latest changes regarding inventory folders. The newest version of libomv itself is committed here. Basically, everything that was using the AssetType enum has been combed through; many of those uses were changed to the new FolderType enum.
...
This means that from now on, [new] root folders have code 8 (FolderType.Root), as the viewers expect, as opposed to 9, which was what we had been doing. Normal folders are as they were, -1. Also now sending folder code 100 for Suitcase folders to viewers, with no filter.
All tests pass, but fingers crossed!
2015-08-08 12:12:50 -07:00
Diva Canto
b5ac0e1ab8
FetchInventoryDescendents2: Signal to the viewer that folder with UUID.Zero is a bad folder. Don't even go to the backend to ask for it, because that will likely kill the sim. Apparently Firestorm requests folder Zero quite often.
2015-06-23 14:24:55 -07:00
Diva Canto
bac53387a9
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
2015-06-03 17:42:41 -07:00
Diva Canto
8de65a8fb3
Mantis #7594 : putting things as they were before regarding duplicate removal. Also added test to check that duplicates are being removed. The test passes. I have no idea how duplicates would not be removed, as reported in the mantis.
2015-06-01 20:05:51 -07:00
Diva Canto
05737a1010
Improved comments on fetch inventory tests
2015-05-10 08:59:33 -07:00
Diva Canto
f992ed0f40
Added unit tests for FetchInventoryDescendents http://wiki.secondlife.com/wiki/Linden_Lab_Official:Inventory_API#Fetch_Inventory_Descendents
...
Also, consolidated the location of the files that handle inventory capabilities.
2015-05-10 08:44:21 -07:00