aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2012-07-10 17:40:55 +0100
committerUbitUmarov2012-07-10 17:40:55 +0100
commit4a91c65dbccfe159aeb483b17993c8ac1a0644a1 (patch)
tree9ca730196adf4e216405ecf6f2be316e7fab7c7d /OpenSim/Region
parent lltargetomega efective spinrate now multiplied by gain ( need check ) (diff)
parentReinstate parallel fetching of residents and remove a left over return from d... (diff)
downloadopensim-SC_OLD-4a91c65dbccfe159aeb483b17993c8ac1a0644a1.zip
opensim-SC_OLD-4a91c65dbccfe159aeb483b17993c8ac1a0644a1.tar.gz
opensim-SC_OLD-4a91c65dbccfe159aeb483b17993c8ac1a0644a1.tar.bz2
opensim-SC_OLD-4a91c65dbccfe159aeb483b17993c8ac1a0644a1.tar.xz
Merge branch 'avination' into ubitwork
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs12
1 files changed, 7 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
index a226b78..1dedcce 100644
--- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
+++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
@@ -553,7 +553,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
553 /// </summary> 553 /// </summary>
554 public void process() 554 public void process()
555 { 555 {
556 const int MAX_ASYNC_REQUESTS = 5; 556 const int MAX_ASYNC_REQUESTS = 20;
557 try 557 try
558 { 558 {
559 while (true) 559 while (true)
@@ -589,11 +589,14 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
589 589
590 if (dorequest && !m_blacklistedregions.ContainsKey(st.regionhandle)) 590 if (dorequest && !m_blacklistedregions.ContainsKey(st.regionhandle))
591 { 591 {
592// while (nAsyncRequests >= MAX_ASYNC_REQUESTS) // hit the break 592 while (nAsyncRequests >= MAX_ASYNC_REQUESTS) // hit the break
593// Thread.Sleep(500); 593 Thread.Sleep(100);
594 594
595 Interlocked.Increment(ref nAsyncRequests); 595 Interlocked.Increment(ref nAsyncRequests);
596 RequestMapItemsAsync(st.agentID, st.flags, st.EstateID, st.godlike, st.itemtype, st.regionhandle); 596 Util.FireAndForget(x =>
597 {
598 RequestMapItemsAsync(st.agentID, st.flags, st.EstateID, st.godlike, st.itemtype, st.regionhandle);
599 });
597 } 600 }
598 } 601 }
599 602
@@ -766,7 +769,6 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
766 OSDMap responseMap = new OSDMap(); 769 OSDMap responseMap = new OSDMap();
767 responseMap["requestID"] = OSD.FromUUID(requestID); 770 responseMap["requestID"] = OSD.FromUUID(requestID);
768 771
769return;
770 Stream os = null; 772 Stream os = null;
771 try 773 try
772 { // send the Post 774 { // send the Post