Slowing TPs down a bit further.

0.6.2-post-fixes
diva 2008-12-21 19:00:30 +00:00
parent d56a62253b
commit 7d837a9bea
2 changed files with 8 additions and 8 deletions

View File

@ -198,7 +198,7 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid
agent.child = true; agent.child = true;
if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY) || isHyperLink) if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY) || isHyperLink)
{ {
Thread.Sleep(1000); Thread.Sleep(2000);
// brand new agent // brand new agent
agent.CapsPath = Util.GetRandomCapsPath(); agent.CapsPath = Util.GetRandomCapsPath();
@ -208,7 +208,7 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid
return; return;
} }
Thread.Sleep(2000); Thread.Sleep(3000);
// TODO Should construct this behind a method // TODO Should construct this behind a method
capsPath = capsPath =
@ -251,7 +251,7 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid
// return; // return;
//} //}
Thread.Sleep(5000); Thread.Sleep(7000);
m_log.DebugFormat( m_log.DebugFormat(
"[CAPS]: Sending new CAPS seed url {0} to client {1}", agent.CapsPath, avatar.UUID); "[CAPS]: Sending new CAPS seed url {0} to client {1}", agent.CapsPath, avatar.UUID);
@ -293,7 +293,7 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid
/// ///
if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY) || isHyperLink) if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY) || isHyperLink)
{ {
Thread.Sleep(2000); Thread.Sleep(5000);
CloseConnection(avatar.UUID); CloseConnection(avatar.UUID);
} }
// if (teleport success) // seems to be always success here // if (teleport success) // seems to be always success here

View File

@ -784,7 +784,7 @@ namespace OpenSim.Region.Environment.Scenes
agent.child = true; agent.child = true;
if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY)) if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY))
{ {
Thread.Sleep(1000); Thread.Sleep(2000);
// brand new agent // brand new agent
agent.CapsPath = Util.GetRandomCapsPath(); agent.CapsPath = Util.GetRandomCapsPath();
@ -794,7 +794,7 @@ namespace OpenSim.Region.Environment.Scenes
return; return;
} }
Thread.Sleep(2000); Thread.Sleep(3000);
// TODO Should construct this behind a method // TODO Should construct this behind a method
capsPath = capsPath =
@ -835,7 +835,7 @@ namespace OpenSim.Region.Environment.Scenes
// return; // return;
//} //}
Thread.Sleep(5000); Thread.Sleep(7000);
m_log.DebugFormat( m_log.DebugFormat(
"[CAPS]: Sending new CAPS seed url {0} to client {1}", capsPath, avatar.UUID); "[CAPS]: Sending new CAPS seed url {0} to client {1}", capsPath, avatar.UUID);
@ -866,7 +866,7 @@ namespace OpenSim.Region.Environment.Scenes
if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY)) if (Util.IsOutsideView(oldRegionX, newRegionX, oldRegionY, newRegionY))
{ {
Thread.Sleep(2000); Thread.Sleep(5000);
CloseConnection(avatar.UUID); CloseConnection(avatar.UUID);
} }