From bb7fcf378bb13130345efee514289bf106194ae9 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Tue, 7 Oct 2008 15:08:44 +0000 Subject: * Disabling mapitem requests for surrounding regions as it's probably using up a lot of threads right now when regions are inaccessable --- .../Environment/Modules/World/WorldMap/WorldMapModule.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/Environment') diff --git a/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs index e68bd65..49de153 100644 --- a/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs @@ -295,14 +295,14 @@ namespace OpenSim.Region.Environment.Modules.World.WorldMap } else { - RegionInfo mreg = m_scene.SceneGridService.RequestNeighbouringRegionInfo(regionhandle); - if (mreg != null) - { - string httpserver = "http://" + mreg.ExternalEndPoint.Address.ToString() + ":" + mreg.HttpPort + "/MAP/MapItems/" + regionhandle.ToString(); + //RegionInfo mreg = m_scene.SceneGridService.RequestNeighbouringRegionInfo(regionhandle); + //if (mreg != null) + //{ + // string httpserver = "http://" + mreg.ExternalEndPoint.Address.ToString() + ":" + mreg.HttpPort + "/MAP/MapItems/" + regionhandle.ToString(); - RequestMapItems(httpserver,remoteClient.AgentId,flags,EstateID,godlike,itemtype,regionhandle); + // RequestMapItems(httpserver,remoteClient.AgentId,flags,EstateID,godlike,itemtype,regionhandle); - } + //} } } -- cgit v1.1