aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorMelanie Thielker2009-05-01 18:24:56 +0000
committerMelanie Thielker2009-05-01 18:24:56 +0000
commit52d80249d3c1553827e5f29bf670fedf0b6203fb (patch)
treecba5ebdb97e56ac822f364c7ebe8a27fca187a15 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentAdd methods to block and queue agent updates during region crossing and TP (diff)
downloadopensim-SC_OLD-52d80249d3c1553827e5f29bf670fedf0b6203fb.zip
opensim-SC_OLD-52d80249d3c1553827e5f29bf670fedf0b6203fb.tar.gz
opensim-SC_OLD-52d80249d3c1553827e5f29bf670fedf0b6203fb.tar.bz2
opensim-SC_OLD-52d80249d3c1553827e5f29bf670fedf0b6203fb.tar.xz
Throttle prim sending a bit (again) to ensure the queues don't overrun and
clog
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index f01a1cd..50cebfb 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -747,7 +747,7 @@ namespace OpenSim.Region.Framework.Scenes
747 } 747 }
748 } 748 }
749 749
750 while (m_pendingObjects != null && m_pendingObjects.Count > 0 && m_partsUpdateQueue.Count < 120) 750 while (m_pendingObjects != null && m_pendingObjects.Count > 0 && m_partsUpdateQueue.Count < 60)
751 { 751 {
752 SceneObjectGroup g = m_pendingObjects.Dequeue(); 752 SceneObjectGroup g = m_pendingObjects.Dequeue();
753 753
@@ -836,7 +836,7 @@ namespace OpenSim.Region.Framework.Scenes
836 updateCount++; 836 updateCount++;
837 } 837 }
838 838
839 if (updateCount > 300) 839 if (updateCount > 200)
840 break; 840 break;
841 } 841 }
842 842