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
parent
2f394b7e7e
commit
5d07e18980
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue