Add naive implementation of controlled incoming HG attachments to manage load.

Instead of processing all incoming attachment scene object concurrently, process them consecutively to eliminate potential overload from this source.
This is a naive implementation because it does not currently account for slow foreign asset services.
Although it may take longer, this approach may also improve attachment visibility for HG avatars
since the scene object is now always added to the scene after receiving assets from the foreign service and not before.
This commit is contained in:
Justin Clark-Casey (justincc)
2014-11-04 16:49:32 +00:00
parent ec8d21c434
commit 1d19e1bbd0
4 changed files with 121 additions and 79 deletions

View File

@@ -98,6 +98,8 @@ namespace OpenSim.Region.Framework.Interfaces
void Cross(SceneObjectGroup sog, Vector3 position, bool silent);
ScenePresence CrossAgentToNewRegionAsync(ScenePresence agent, Vector3 pos, GridRegion neighbourRegion, bool isFlying, string version);
bool HandleIncomingSceneObject(SceneObjectGroup so, Vector3 newPosition);
}
public interface IUserAgentVerificationModule