* 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.
This commit is contained in:
lbsa71
2008-08-08 10:59:32 +00:00
parent 97d5b5a1eb
commit 22f09fbd21
4 changed files with 49 additions and 33 deletions

View File

@@ -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
{