aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-09-12 try to better merge avn and os fetchinventory and fetchinvdescendentsUbitUmarov1-2/+2
2015-09-11 inventory mess return to the state before divas cache issueUbitUmarov1-29/+116
2015-09-11 change to avn fecthinventory and webfecth.. codeUbitUmarov1-116/+29
2015-09-03 at last we can login and see objects ( friends is dead and disable inUbitUmarov1-1/+2
scenepresence)
2015-09-02seems to compile ( tests comented out)UbitUmarov1-4/+0
2015-06-17Bug fix in inventory fetching: sometimes the caps request comes before there ↵Diva Canto1-5/+0
is a scene presence, and that's ok.
2015-06-03Mantis #7567: added an 8-sec expiring item cache to the inventory network ↵Diva Canto1-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
2015-05-07Major change in the way inventory is downloaded: added a method throughout ↵Diva Canto1-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.
2015-05-05Attempt at fixing mantis #7054. The two inventory threads are stepping on ↵Diva Canto1-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.
2015-01-13And finally renamed the classes themselves.Diva Canto1-2/+2
2014-11-25refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)1-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
2014-06-16If processing a queued request fails up to the top of the stack, log the ↵Justin Clark-Casey (justincc)1-3/+13
exception and move to the next request rather than terminate the simulator.
2014-03-21rename prefix of ↵Justin Clark-Casey (justincc)1-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.
2014-03-19minor: Put ProcessedFetchInventoryRequests and QueuedFetchInventoryRequests ↵Justin Clark-Casey (justincc)1-2/+2
in stats category "scene-inventory" instead of "scene" To distinguish from general scene stats
2014-03-18Add scene.<scene-name>.ProcessedFetchInventoryRequestsJustin Clark-Casey (justincc)1-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
2014-03-18Add scene.<scene-name>.QueuedFetchInventoryRequests statJustin Clark-Casey (justincc)1-0/+19
This is to aid in detecting whether there are fetch inventory requests remaining to be processed.
2014-03-17Add regression test for http inventory fetch.Justin Clark-Casey (justincc)1-7/+36
Involved some restructuring to allow regression tests to dequeue inventory requests and perform poll responses synchronously rather than async
2013-09-11Change handling of the FetchInventoryDescendents2 capability configuration ↵Mic Bowman1-23/+36
to allow for external handlers.
2013-07-16revert last commit which seems to conflict with DoubleQueue internals. The ↵dahlia1-10/+5
random crash might be in DoubleQueue instead. See http://pastebin.com/XhNBNqsc
2013-07-16add locking to internal queue in WebFetchInvDescModule; lack of which caused ↵dahlia1-5/+10
a random crash in a load test yesterday
2013-07-15Add request received/handling stats for caps which are served by http poll ↵Justin Clark-Casey (justincc)1-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.
2013-07-15Guard against null refDiva Canto1-1/+2
2013-07-06Get InventoryWorkerThreads to update watchdog on processing requestsJustin Clark-Casey (justincc)1-0/+2
2013-06-17minor: remove mono compiler warnings in WebFetchInvDescModuleJustin Clark-Casey (justincc)1-3/+2
2013-06-14Don't try to abort worker threads in WebFetchInvDescModule if module was not ↵Justin Clark-Casey (justincc)1-6/+4
enabled. This also moves the abort to RemoveRegion() rather than a destructor.
2013-06-07Put the configuration back in FetchInventoryDesc2 cap.Diva Canto1-0/+29
2013-06-07Supply proper type information for the various types of requestsMelanie1-0/+1
2013-06-07Adding Avination's PollService to round out the HTTP inventory changesMelanie1-2/+2
2013-06-05Port Avination's inventory send throttlingMelanie1-52/+213
2013-03-03Make a viewer sent XML error prettierMelanie1-0/+4
2013-02-06Move SoubleQueu to Util. Change HTTP inv to prioritize COF. Determine COF for SPMelanie1-7/+70
2012-11-12Cleanup on region modules: gave short node id's to all of them.Diva Canto1-1/+1
2012-09-26just remove the damm thingUbitUmarov1-1/+1
2012-09-26 Seems nothing actually need the request body for getevents. so changeUbitUmarov1-1/+0
control flag to false
2012-09-26 more changes to PollServiceUbitUmarov1-0/+1
2012-09-25do the same to webFecthInvDescModuleUbitUmarov1-33/+25
2012-09-23Protect the responses map with a lock. Also remove ugly "this." type ofMelanie1-12/+16
member notation.
2012-09-11Revamp the v3 inventory sending. Uses threads and some nifty mechanics toMelanie1-81/+117
leverage the Poll Service without blocking it's workers.
2012-09-10webFetchInventory: change control event to simple flag, adjust lockingUbitUmarov1-11/+32
2012-09-10Remove commented codeMelanie1-11/+0
2012-08-24Remove debug spamMelanie1-2/+2
2012-08-24Fix background inventory loading (Viewer 3) so it won't lag out the simMelanie1-49/+103
2012-05-03Implement optional name and description on http stream handlers so that we ↵Justin Clark-Casey (justincc)1-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.
2011-11-26Use the same web fetch handler for every request from every avatar, since it ↵Justin Clark-Casey (justincc)1-3/+11
contains no instance code
2011-11-25Fix config so that you can have both WebFetchInventoryDescendents and ↵Justin Clark-Casey (justincc)1-1/+2
FetchInvnetoryDescendents2 caps active at once
2011-11-25Resolve error where an unknown asset type would cause the fetch inventory ↵Justin Clark-Casey (justincc)1-4/+1
descendents cap to fail. Introduced just a few commits ago in 0688861
2011-11-25Implement the FetchInventoryDescendents2 capability using the same code as ↵Justin Clark-Casey (justincc)1-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.
2011-11-25Fix WebFetchInventoryDescendents cap to use ↵Justin Clark-Casey (justincc)1-0/+2
Utils.AssetTypeTostring/InventoryTypeToString to convert types to strings These cover a wider range of types.
2011-05-04Test m_Enabled on RemoveRegion.Diva Canto1-0/+3
2011-05-02WebFetchInventoryDescendents working. Tested with robust.Diva Canto1-21/+13