diff options
author | UbitUmarov | 2014-08-15 01:22:15 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-15 01:22:15 +0100 |
commit | b4a71261678f6a91027d0e25ee506a2ff2e45a77 (patch) | |
tree | cbab4d438c0feab47681f6d2fa24ec4483028773 /OpenSim/Region/CoreModules/Framework/EntityTransfer | |
parent | add a extra delay in EnableChildAgents between CreateAgent() return and (diff) | |
download | opensim-SC-b4a71261678f6a91027d0e25ee506a2ff2e45a77.zip opensim-SC-b4a71261678f6a91027d0e25ee506a2ff2e45a77.tar.gz opensim-SC-b4a71261678f6a91027d0e25ee506a2ff2e45a77.tar.bz2 opensim-SC-b4a71261678f6a91027d0e25ee506a2ff2e45a77.tar.xz |
remove the delay on child creation on Neighbour since its amout in not
predictable.
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/EntityTransfer')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index b0483e0..4d6b471 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -2102,9 +2102,10 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
2102 | if (regionAccepted && newAgent) | 2102 | if (regionAccepted && newAgent) |
2103 | { | 2103 | { |
2104 | // give some time for createAgent finish possible async tasks | 2104 | // give some time for createAgent finish possible async tasks |
2105 | int dly = 100 - sp.ControllingClient.PingTimeMS; | 2105 | // does nothing usefull... out |
2106 | if (dly > 20) | 2106 | // int dly = 100 - sp.ControllingClient.PingTimeMS; |
2107 | Thread.Sleep(dly); | 2107 | // if (dly > 20) |
2108 | // Thread.Sleep(dly); | ||
2108 | 2109 | ||
2109 | if (m_eqModule != null) | 2110 | if (m_eqModule != null) |
2110 | { | 2111 | { |