When processing incoming attachments via HG, if a request for uuid gathering or final asset import takes too long remove remaining requests from same user to prevent hold up of other user's incoming attachments.

This improves upon the earlier naive simply queueing immplementation.
Threshold is 30 seconds.  If this happens to a user they can relog and fetch will be reattempted.
This commit is contained in:
Justin Clark-Casey (justincc)
2014-11-06 01:15:22 +00:00
parent 06a5d6e9ef
commit aeae34505f
4 changed files with 121 additions and 29 deletions

View File

@@ -100,7 +100,7 @@ namespace OpenSim.Services.HypergridService
return null;
if (asset.Metadata.Type == (sbyte)AssetType.Object)
asset.Data = AdjustIdentifiers(asset.Data); ;
asset.Data = AdjustIdentifiers(asset.Data);
AdjustIdentifiers(asset.Metadata);