* Makes ObjectUpdate compressing tweakable in OpenSim.ini - introduces:

TerseUpdatesPerPacket=10
FullUpdatesPerPacket=14
TerseUpdateRate=10
FullUpdateRate=14
0.6.5-rc1
Adam Frisby 2009-05-02 19:09:48 +00:00
parent 66e25abbfe
commit 0b2a34438c
2 changed files with 19 additions and 2 deletions

View File

@ -524,8 +524,19 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if (clientConfig != null) if (clientConfig != null)
{ {
m_PacketHandler.ReliableIsImportant = m_PacketHandler.ReliableIsImportant =
clientConfig.GetBoolean("ReliableIsImportant", clientConfig.GetBoolean("ReliableIsImportant",
false); false);
m_primTerseUpdatesPerPacket = clientConfig.GetInt("TerseUpdatesPerPacket",
m_primTerseUpdatesPerPacket);
m_primFullUpdatesPerPacket = clientConfig.GetInt("FullUpdatesPerPacket",
m_primFullUpdatesPerPacket);
m_primTerseUpdateRate = clientConfig.GetInt("TerseUpdateRate",
m_primTerseUpdateRate);
m_primFullUpdateRate = clientConfig.GetInt("FullUpdateRate",
m_primFullUpdateRate);
} }
} }

View File

@ -1279,3 +1279,9 @@
[LLClient] [LLClient]
; Resend packets markes as reliable until they are received ; Resend packets markes as reliable until they are received
;ReliableIsImportant = false ;ReliableIsImportant = false
; Configures how ObjectUpdates are compressed.
;TerseUpdatesPerPacket=10
;FullUpdatesPerPacket=14
;TerseUpdateRate=10
;FullUpdateRate=14