aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs
diff options
context:
space:
mode:
authorMelanie2012-07-08 10:44:53 +0200
committerMelanie2012-07-08 10:44:53 +0200
commit1e4c65649736db82d0221b6b2aa57f7f45c7163c (patch)
tree064b128509b7a91ebebbf94d094c1a25be16a9da /OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs
parentInstead of sending 20 records in 2 packets, send just one as we intended in t... (diff)
downloadopensim-SC-1e4c65649736db82d0221b6b2aa57f7f45c7163c.zip
opensim-SC-1e4c65649736db82d0221b6b2aa57f7f45c7163c.tar.gz
opensim-SC-1e4c65649736db82d0221b6b2aa57f7f45c7163c.tar.bz2
opensim-SC-1e4c65649736db82d0221b6b2aa57f7f45c7163c.tar.xz
Revamp map block sending to eliminate overload of the grid server connection
and the sim's http client
Diffstat (limited to 'OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs
index 0c60391..4f18b53 100644
--- a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs
+++ b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs
@@ -90,9 +90,9 @@ namespace OpenSim.Region.CoreModules.Hypergrid
90 } 90 }
91 } 91 }
92 92
93 protected override List<MapBlockData> GetAndSendBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag) 93 protected override List<MapBlockData> GetAndSendBlocksInternal(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag)
94 { 94 {
95 List<MapBlockData> mapBlocks = base.GetAndSendBlocks(remoteClient, minX, minY, maxX, maxY, flag); 95 List<MapBlockData> mapBlocks = base.GetAndSendBlocksInternal(remoteClient, minX, minY, maxX, maxY, flag);
96 lock (m_SeenMapBlocks) 96 lock (m_SeenMapBlocks)
97 { 97 {
98 if (!m_SeenMapBlocks.ContainsKey(remoteClient.AgentId)) 98 if (!m_SeenMapBlocks.ContainsKey(remoteClient.AgentId))