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,9 +274,15 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
|
||||||
}
|
}
|
||||||
m_RootAgents[agentID] = scene;
|
m_RootAgents[agentID] = scene;
|
||||||
}
|
}
|
||||||
|
|
||||||
// inform messaging server that agent changed the region
|
// inform messaging server that agent changed the region
|
||||||
|
Util.FireAndForget(
|
||||||
|
delegate(object o)
|
||||||
|
{
|
||||||
NotifyMessageServerOfAgentLocation(agentID, scene.RegionInfo.RegionID, scene.RegionInfo.RegionHandle);
|
NotifyMessageServerOfAgentLocation(agentID, scene.RegionInfo.RegionID, scene.RegionInfo.RegionHandle);
|
||||||
}
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
private void OnEconomyDataRequest(UUID agentID)
|
private void OnEconomyDataRequest(UUID agentID)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue