diff options
author | lbsa71 | 2008-08-08 10:59:32 +0000 |
---|---|---|
committer | lbsa71 | 2008-08-08 10:59:32 +0000 |
commit | 22f09fbd213ffd414514756b4a7ee0e86325d733 (patch) | |
tree | 812fd206280d2f527063a902e0a041612338947f /OpenSim/Region/Communications/Local/LocalBackEndServices.cs | |
parent | De-coupling the IClientAPI interface and ClientManager class from the (diff) | |
download | opensim-SC-22f09fbd213ffd414514756b4a7ee0e86325d733.zip opensim-SC-22f09fbd213ffd414514756b4a7ee0e86325d733.tar.gz opensim-SC-22f09fbd213ffd414514756b4a7ee0e86325d733.tar.bz2 opensim-SC-22f09fbd213ffd414514756b4a7ee0e86325d733.tar.xz |
* 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.
Diffstat (limited to 'OpenSim/Region/Communications/Local/LocalBackEndServices.cs')
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalBackEndServices.cs | 11 |
1 files changed, 2 insertions, 9 deletions
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 | |||
51 | 51 | ||
52 | public string _gdebugRegionName = String.Empty; | 52 | public string _gdebugRegionName = String.Empty; |
53 | 53 | ||
54 | bool m_bAvailable=true; | 54 | public bool CheckRegion(string address, uint port) |
55 | |||
56 | public void CheckRegion(string address, uint port) | ||
57 | { | ||
58 | m_bAvailable = true; | ||
59 | } | ||
60 | |||
61 | public bool Available | ||
62 | { | 55 | { |
63 | get { return m_bAvailable; } | 56 | return true; |
64 | } | 57 | } |
65 | 58 | ||
66 | public string gdebugRegionName | 59 | public string gdebugRegionName |