Improve prim sending by combining multiple prim updates into a single packet

This commit is contained in:
Melanie Thielker
2009-05-01 16:29:15 +00:00
parent 5ede445bdf
commit 55a69f3f2d
4 changed files with 209 additions and 75 deletions

View File

@@ -97,6 +97,11 @@ namespace OpenSim.Region.Framework.Scenes
get { return m_clientManager; }
}
public float TimeDilation
{
get { return 1.0f; }
}
protected ulong m_regionHandle;
protected string m_regionName;
protected RegionInfo m_regInfo;

View File

@@ -745,7 +745,7 @@ namespace OpenSim.Region.Framework.Scenes
}
}
while (m_pendingObjects != null && m_pendingObjects.Count > 0 && m_partsUpdateQueue.Count < 60)
while (m_pendingObjects != null && m_pendingObjects.Count > 0 && m_partsUpdateQueue.Count < 120)
{
SceneObjectGroup g = m_pendingObjects.Dequeue();
@@ -834,7 +834,7 @@ namespace OpenSim.Region.Framework.Scenes
updateCount++;
}
if (updateCount > 60)
if (updateCount > 300)
break;
}