A synchronous call to the messaging server was blocking the process of promoting an agent to a root agent (logins and teleports). Changed to an async method

0.6.8-post-fixes
John Hurliman 2009-10-22 02:27:06 -07:00
parent 2f394b7e7e
commit 5d07e18980
1 changed files with 7 additions and 1 deletions

View File

@ -274,8 +274,14 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
}
m_RootAgents[agentID] = scene;
}
// inform messaging server that agent changed the region
NotifyMessageServerOfAgentLocation(agentID, scene.RegionInfo.RegionID, scene.RegionInfo.RegionHandle);
Util.FireAndForget(
delegate(object o)
{
NotifyMessageServerOfAgentLocation(agentID, scene.RegionInfo.RegionID, scene.RegionInfo.RegionHandle);
}
);
}
private void OnEconomyDataRequest(UUID agentID)