From 7db5ba77026ddc3f6ef5ce901e8b137b5506c93d Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Thu, 8 Mar 2012 19:31:53 -0800 Subject: 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). --- .../CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/CoreModules/Framework') diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs index d2fe388..9921e11 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs @@ -206,7 +206,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess m_assMapper.Get(item.AssetID, sender, userAssetServer); 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) -- cgit v1.1