aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs
diff options
context:
space:
mode:
authordiva2009-01-18 01:45:22 +0000
committerdiva2009-01-18 01:45:22 +0000
commit1d8821ccb2783463720380d7d61adda427074dad (patch)
treec4ae64977e8a5e3ad51b23e832af2028c4f525c2 /OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs
parentChange list type to compare length instead of references. (diff)
downloadopensim-SC_OLD-1d8821ccb2783463720380d7d61adda427074dad.zip
opensim-SC_OLD-1d8821ccb2783463720380d7d61adda427074dad.tar.gz
opensim-SC_OLD-1d8821ccb2783463720380d7d61adda427074dad.tar.bz2
opensim-SC_OLD-1d8821ccb2783463720380d7d61adda427074dad.tar.xz
Getting rid of the CheckRegion call during TPs. This seems to be not just useless, but sometimes problematic (mantis #2999). Initial tests indicate that this call is not necessary. Let's see if this stands in the wild.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs13
1 files changed, 1 insertions, 12 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs
index 6bcc77e..a652609 100644
--- a/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs
+++ b/OpenSim/Region/Environment/Scenes/Hypergrid/HGSceneCommunicationService.cs
@@ -70,7 +70,7 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid
70 if (!avatar.Scene.Permissions.CanTeleport(avatar.UUID)) 70 if (!avatar.Scene.Permissions.CanTeleport(avatar.UUID))
71 return; 71 return;
72 72
73 bool destRegionUp = false; 73 bool destRegionUp = true;
74 74
75 IEventQueue eq = avatar.Scene.RequestModuleInterface<IEventQueue>(); 75 IEventQueue eq = avatar.Scene.RequestModuleInterface<IEventQueue>();
76 76
@@ -137,17 +137,6 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid
137 avatar.ControllingClient.SendTeleportLocationStart(); 137 avatar.ControllingClient.SendTeleportLocationStart();
138 138
139 139
140 if (reg.RemotingAddress != "" && reg.RemotingPort != 0)
141 {
142 // region is remote. see if it is up
143 destRegionUp = m_commsProvider.InterRegion.CheckRegion(reg.RemotingAddress, reg.RemotingPort);
144 }
145 else
146 {
147 // assume local regions are always up
148 destRegionUp = true;
149 }
150
151 // Let's do DNS resolution only once in this process, please! 140 // Let's do DNS resolution only once in this process, please!
152 // This may be a costly operation. The reg.ExternalEndPoint field is not a passive field, 141 // This may be a costly operation. The reg.ExternalEndPoint field is not a passive field,
153 // it's actually doing a lot of work. 142 // it's actually doing a lot of work.