More on the freeze on HG inventory transfers: spawn a threadlet on the functional asset posts so that the client threads doesn't freeze (but the network posts are serialized).

0.7.4.1
Diva Canto 2012-03-08 19:31:53 -08:00
parent c22446ede0
commit 7db5ba7702
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
m_assMapper.Get(item.AssetID, sender, userAssetServer); m_assMapper.Get(item.AssetID, sender, userAssetServer);
if (IsForeignUser(receiver, out userAssetServer) && userAssetServer != string.Empty && m_OutboundPermission) if (IsForeignUser(receiver, out userAssetServer) && userAssetServer != string.Empty && m_OutboundPermission)
m_assMapper.Post(item.AssetID, receiver, userAssetServer); Util.FireAndForget(delegate { m_assMapper.Post(item.AssetID, receiver, userAssetServer); });
} }
public override bool IsForeignUser(UUID userID, out string assetServerURL) public override bool IsForeignUser(UUID userID, out string assetServerURL)