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).
parent
c22446ede0
commit
7db5ba7702
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue