* Disabling mapitem requests for surrounding regions as it's probably using up a lot of threads right now when regions are inaccessable

0.6.0-stable
Teravus Ovares 2008-10-07 15:08:44 +00:00
parent f085d53be2
commit bb7fcf378b
1 changed files with 6 additions and 6 deletions

View File

@ -295,14 +295,14 @@ namespace OpenSim.Region.Environment.Modules.World.WorldMap
} }
else else
{ {
RegionInfo mreg = m_scene.SceneGridService.RequestNeighbouringRegionInfo(regionhandle); //RegionInfo mreg = m_scene.SceneGridService.RequestNeighbouringRegionInfo(regionhandle);
if (mreg != null) //if (mreg != null)
{ //{
string httpserver = "http://" + mreg.ExternalEndPoint.Address.ToString() + ":" + mreg.HttpPort + "/MAP/MapItems/" + regionhandle.ToString(); // 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);
} //}
} }
} }