From 52d80249d3c1553827e5f29bf670fedf0b6203fb Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 1 May 2009 18:24:56 +0000 Subject: Throttle prim sending a bit (again) to ensure the queues don't overrun and clog --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 ++-- 1 file 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 } } - while (m_pendingObjects != null && m_pendingObjects.Count > 0 && m_partsUpdateQueue.Count < 120) + while (m_pendingObjects != null && m_pendingObjects.Count > 0 && m_partsUpdateQueue.Count < 60) { SceneObjectGroup g = m_pendingObjects.Dequeue(); @@ -836,7 +836,7 @@ namespace OpenSim.Region.Framework.Scenes updateCount++; } - if (updateCount > 300) + if (updateCount > 200) break; } -- cgit v1.1