diff options
author | Justin Clark-Casey (justincc) | 2011-07-01 21:25:40 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-01 21:25:40 +0100 |
commit | 9f72fbcb7533bd960c38082cbd6956cd01fa6919 (patch) | |
tree | 3f2da22ae0a05d76753ab25ae3849ef66b25ccb6 /OpenSim/Capabilities | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-9f72fbcb7533bd960c38082cbd6956cd01fa6919.zip opensim-SC_OLD-9f72fbcb7533bd960c38082cbd6956cd01fa6919.tar.gz opensim-SC_OLD-9f72fbcb7533bd960c38082cbd6956cd01fa6919.tar.bz2 opensim-SC_OLD-9f72fbcb7533bd960c38082cbd6956cd01fa6919.tar.xz |
Add an async inventory details sender to respond to FetchInventory packets.
If a user with a very large inventory right-clicks on their "My Inventory" folder, viewer 1 code will send a massive number of Fetchinventory requests.
Even though each is handled asynchronously via a pool thread, the sheer frequency of requests overwhelms the pool and freezes inbound packet handling.
This change makes the first Fetchinventory thread also handle subsequent requests, freeing up the other threads.
Further efficiencies could be made by handling all the items in a particular FetchInventory request together, rather than separately.
Diffstat (limited to 'OpenSim/Capabilities')
0 files changed, 0 insertions, 0 deletions