From 72a6bca033f95fa00c9fb21e0a7086f7c3d23f99 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 15 Aug 2014 21:26:50 +0100 Subject: cleanup a bit --- .../Framework/EntityTransfer/EntityTransferModule.cs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 84ca52d..7846400 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs @@ -2108,20 +2108,11 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer string reason = String.Empty; - int ts = Util.EnvironmentTickCount(); bool regionAccepted = scene.SimulationService.CreateAgent(reg, a, (uint)TeleportFlags.Default, out reason); -// m_log.DebugFormat("[ENTITY TRANSFER MODULE] SimulationService.CreateAgent took {0}ms",Util.EnvironmentTickCountSubtract(ts)); - if (regionAccepted && newAgent) { - // give time for createAgent to finish, since it is async and does grid services access - -// int dly = 500 - sp.ControllingClient.PingTimeMS; -// if (dly > 20) -// Thread.Sleep(dly); - // ping is unrealiable after a login :(, just delay a fair amount - + // give time for createAgent to finish, since it is async and does grid services access Thread.Sleep(500); if (m_eqModule != null) -- cgit v1.1