From 22f09fbd213ffd414514756b4a7ee0e86325d733 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Fri, 8 Aug 2008 10:59:32 +0000 Subject: * All CheckRegion within an instance would use the same, global, bool for 'Available', which would lead to intermittent failures on parallell teleport requests. * Solidified CheckRegion somewhat, adding a second try if the first failed. --- OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index b35e60f..cb37faf 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs @@ -580,8 +580,7 @@ namespace OpenSim.Region.Environment.Scenes if (reg.RemotingAddress != "" && reg.RemotingPort != 0) { // region is remote. see if it is up - m_commsProvider.InterRegion.CheckRegion(reg.RemotingAddress, reg.RemotingPort); - destRegionUp = m_commsProvider.InterRegion.Available; + destRegionUp = m_commsProvider.InterRegion.CheckRegion(reg.RemotingAddress, reg.RemotingPort); } else { -- cgit v1.1