aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-22 02:27:06 -0700
committerJohn Hurliman2009-10-22 02:27:06 -0700
commit5d07e18980ce5969b26648332435d9f7e61b22b6 (patch)
treee97b638ca4d0349b8a6cedaee51449de8430180d
parent* Allow SmartThreadPool to be initialized without setting max stack size (lik... (diff)
downloadopensim-SC_OLD-5d07e18980ce5969b26648332435d9f7e61b22b6.zip
opensim-SC_OLD-5d07e18980ce5969b26648332435d9f7e61b22b6.tar.gz
opensim-SC_OLD-5d07e18980ce5969b26648332435d9f7e61b22b6.tar.bz2
opensim-SC_OLD-5d07e18980ce5969b26648332435d9f7e61b22b6.tar.xz
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
-rw-r--r--OpenSim/Region/CoreModules/Avatar/InstantMessage/PresenceModule.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/PresenceModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/PresenceModule.cs
index ad05bab..f5ab454 100644
--- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/PresenceModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/PresenceModule.cs
@@ -274,8 +274,14 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
274 } 274 }
275 m_RootAgents[agentID] = scene; 275 m_RootAgents[agentID] = scene;
276 } 276 }
277
277 // inform messaging server that agent changed the region 278 // inform messaging server that agent changed the region
278 NotifyMessageServerOfAgentLocation(agentID, scene.RegionInfo.RegionID, scene.RegionInfo.RegionHandle); 279 Util.FireAndForget(
280 delegate(object o)
281 {
282 NotifyMessageServerOfAgentLocation(agentID, scene.RegionInfo.RegionID, scene.RegionInfo.RegionHandle);
283 }
284 );
279 } 285 }
280 286
281 private void OnEconomyDataRequest(UUID agentID) 287 private void OnEconomyDataRequest(UUID agentID)