From 3dae92b850c6aed02ce2fcd0326a2a88f76e3ac0 Mon Sep 17 00:00:00 2001 From: diva Date: Sat, 20 Dec 2008 22:44:26 +0000 Subject: Slowing things down even more on TPs, to see if that helps the European folks connected to osgrid. --- .../Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs | 3 ++- OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs index 0ee0869..3bc7fd1 100644 --- a/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs @@ -251,7 +251,7 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid // return; //} - Thread.Sleep(2000); + Thread.Sleep(5000); m_log.DebugFormat( "[CAPS]: Sending new CAPS seed url {0} to client {1}", agent.CapsPath, avatar.UUID); @@ -293,6 +293,7 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid /// if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY) || isHyperLink) { + Thread.Sleep(2000); CloseConnection(avatar.UUID); } // if (teleport success) // seems to be always success here diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index 2bfb7d6..bce87b7 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs @@ -821,7 +821,9 @@ namespace OpenSim.Region.Environment.Scenes + "/CAPS/" + agent.CapsPath + "0000/"; } - + // Expect avatar crossing is a heavy-duty function at the destination. + // That is where MakeRoot is called, which fetches appearance and inventory. + // Plus triggers OnMakeRoot, which spawns a series of asynchronous updates. m_commsProvider.InterRegion.ExpectAvatarCrossing(reg.RegionHandle, avatar.ControllingClient.AgentId, position, false); //{ @@ -833,7 +835,7 @@ namespace OpenSim.Region.Environment.Scenes // return; //} - Thread.Sleep(2000); + Thread.Sleep(5000); m_log.DebugFormat( "[CAPS]: Sending new CAPS seed url {0} to client {1}", capsPath, avatar.UUID); @@ -864,6 +866,7 @@ namespace OpenSim.Region.Environment.Scenes if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY)) { + Thread.Sleep(2000); CloseConnection(avatar.UUID); } -- cgit v1.1