aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mantis #7567: added an 8-sec expiring item cache to the inventory network ↵Diva Canto2015-06-031-1/+1
| | | | | | | | 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
* Major change in the way inventory is downloaded: added a method throughout ↵Diva Canto2015-05-071-1/+5
| | | | IIventoryService that fetches sets of folders at once. Also added folder id in the InventoryCollection data structure, so that we don't need to go to inventory server again just for that. This reduces the chatter between sims and inventory server by... a lot. On my tests, this reduces initial inventory download down to 30% of what it currently is.
* Attempt at fixing mantis #7054. The two inventory threads are stepping on ↵Diva Canto2015-05-051-2/+3
| | | | each other's feet. This needs real-world testing, as I'm not sure of all the consequences of reducing the number of worker threads to 1.
* And finally renamed the classes themselves.Diva Canto2015-01-131-2/+2
|
* refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)2014-11-251-1/+1
| | | | | | | | thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
* If processing a queued request fails up to the top of the stack, log the ↵Justin Clark-Casey (justincc)2014-06-161-3/+13
| | | | exception and move to the next request rather than terminate the simulator.
* rename prefix of ↵Justin Clark-Casey (justincc)2014-03-211-34/+36
| | | | | | scene-inventory.<scene-name>.ProcessedFetchInventoryRequests and QueuedFetchInventoryRequests to inventory.httpfetch.* Actual inventory processing is done with a single set of static structures rather than per scene.
* minor: Put ProcessedFetchInventoryRequests and QueuedFetchInventoryRequests ↵Justin Clark-Casey (justincc)2014-03-191-2/+2
| | | | | | in stats category "scene-inventory" instead of "scene" To distinguish from general scene stats
* Add scene.<scene-name>.ProcessedFetchInventoryRequestsJustin Clark-Casey (justincc)2014-03-181-15/+41
| | | | | This shows the number of requests that have been processed. These have not necessarily been sent back to the request since this is done separately by the PollServiceRequestManager
* Add scene.<scene-name>.QueuedFetchInventoryRequests statJustin Clark-Casey (justincc)2014-03-181-0/+19
| | | | This is to aid in detecting whether there are fetch inventory requests remaining to be processed.
* Add regression test for http inventory fetch.Justin Clark-Casey (justincc)2014-03-171-7/+36
| | | | Involved some restructuring to allow regression tests to dequeue inventory requests and perform poll responses synchronously rather than async
* Change handling of the FetchInventoryDescendents2 capability configuration ↵Mic Bowman2013-09-111-23/+36
| | | | | | to allow for external handlers.
* revert last commit which seems to conflict with DoubleQueue internals. The ↵dahlia2013-07-161-10/+5
| | | | random crash might be in DoubleQueue instead. See http://pastebin.com/XhNBNqsc
* add locking to internal queue in WebFetchInvDescModule; lack of which caused ↵dahlia2013-07-161-5/+10
| | | | a random crash in a load test yesterday
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2013-07-151-2/+3
|\
| * Guard against null refDiva Canto2013-07-151-1/+2
| |
* | Add request received/handling stats for caps which are served by http poll ↵Justin Clark-Casey (justincc)2013-07-151-35/+31
|/ | | | | | | handlers. This adds explicit cap poll handler supporting to the Caps classes rather than relying on callers to do the complicated coding. Other refactoring was required to get logic into the right places to support this.
* Get InventoryWorkerThreads to update watchdog on processing requestsJustin Clark-Casey (justincc)2013-07-061-0/+2
|
* minor: remove mono compiler warnings in WebFetchInvDescModuleJustin Clark-Casey (justincc)2013-06-171-3/+2
|
* Don't try to abort worker threads in WebFetchInvDescModule if module was not ↵Justin Clark-Casey (justincc)2013-06-141-6/+4
| | | | | | enabled. This also moves the abort to RemoveRegion() rather than a destructor.
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2013-06-071-0/+29
|\
| * Put the configuration back in FetchInventoryDesc2 cap.Diva Canto2013-06-071-0/+29
| |
* | Supply proper type information for the various types of requestsMelanie2013-06-071-0/+1
| |
* | Adding Avination's PollService to round out the HTTP inventory changesMelanie2013-06-071-2/+2
|/
* Port Avination's inventory send throttlingMelanie2013-06-051-52/+213
|
* Cleanup on region modules: gave short node id's to all of them.Diva Canto2012-11-121-1/+1
|
* Implement optional name and description on http stream handlers so that we ↵Justin Clark-Casey (justincc)2012-05-031-2/+7
| | | | | | can relate a slow request to what the handler actually does and the agent it serves, if applicable. This is most useful for capabilities where the url is not self-describing.
* Use the same web fetch handler for every request from every avatar, since it ↵Justin Clark-Casey (justincc)2011-11-261-3/+11
| | | | contains no instance code
* Fix config so that you can have both WebFetchInventoryDescendents and ↵Justin Clark-Casey (justincc)2011-11-251-1/+2
| | | | FetchInvnetoryDescendents2 caps active at once
* Resolve error where an unknown asset type would cause the fetch inventory ↵Justin Clark-Casey (justincc)2011-11-251-4/+1
| | | | | | descendents cap to fail. Introduced just a few commits ago in 0688861
* Implement the FetchInventoryDescendents2 capability using the same code as ↵Justin Clark-Casey (justincc)2011-11-251-17/+38
| | | | | | WebFetchInventoryDescendents. Enabling this by setting Cap_FetchInventoryDescendents2 = "localhost" in the [ClientStack.LindenCaps] section of OpenSim.ini downloads inventory via http rather than udp in later viewers.
* Fix WebFetchInventoryDescendents cap to use ↵Justin Clark-Casey (justincc)2011-11-251-0/+2
| | | | | | Utils.AssetTypeTostring/InventoryTypeToString to convert types to strings These cover a wider range of types.
* Test m_Enabled on RemoveRegion.Diva Canto2011-05-041-0/+3
|
* WebFetchInventoryDescendents working. Tested with robust.Diva Canto2011-05-021-0/+131