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/Communications/Local/LocalBackEndServices.cs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'OpenSim/Region/Communications/Local') diff --git a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs index f967cf7..8d6bbcc 100644 --- a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs +++ b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs @@ -51,16 +51,9 @@ namespace OpenSim.Region.Communications.Local public string _gdebugRegionName = String.Empty; - bool m_bAvailable=true; - - public void CheckRegion(string address, uint port) - { - m_bAvailable = true; - } - - public bool Available + public bool CheckRegion(string address, uint port) { - get { return m_bAvailable; } + return true; } public string gdebugRegionName -- cgit v1.1