mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Improve prim sending by combining multiple prim updates into a single packet
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user