aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAdam Frisby2009-05-02 19:09:48 +0000
committerAdam Frisby2009-05-02 19:09:48 +0000
commit0b2a34438c9d904e7be1d85024689d09c60a4b4a (patch)
treeee56a16b6789ac635d098b86471b3b9a6d3282fc
parentPlumb conifg into the client views. Add config option to configure packet (diff)
downloadopensim-SC-0b2a34438c9d904e7be1d85024689d09c60a4b4a.zip
opensim-SC-0b2a34438c9d904e7be1d85024689d09c60a4b4a.tar.gz
opensim-SC-0b2a34438c9d904e7be1d85024689d09c60a4b4a.tar.bz2
opensim-SC-0b2a34438c9d904e7be1d85024689d09c60a4b4a.tar.xz
* Makes ObjectUpdate compressing tweakable in OpenSim.ini - introduces:
TerseUpdatesPerPacket=10 FullUpdatesPerPacket=14 TerseUpdateRate=10 FullUpdateRate=14
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs15
-rw-r--r--bin/OpenSim.ini.example6
2 files changed, 19 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 1668bd3..0369369 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -524,8 +524,19 @@ namespace OpenSim.Region.ClientStack.LindenUDP
524 if (clientConfig != null) 524 if (clientConfig != null)
525 { 525 {
526 m_PacketHandler.ReliableIsImportant = 526 m_PacketHandler.ReliableIsImportant =
527 clientConfig.GetBoolean("ReliableIsImportant", 527 clientConfig.GetBoolean("ReliableIsImportant",
528 false); 528 false);
529
530 m_primTerseUpdatesPerPacket = clientConfig.GetInt("TerseUpdatesPerPacket",
531 m_primTerseUpdatesPerPacket);
532 m_primFullUpdatesPerPacket = clientConfig.GetInt("FullUpdatesPerPacket",
533 m_primFullUpdatesPerPacket);
534
535 m_primTerseUpdateRate = clientConfig.GetInt("TerseUpdateRate",
536 m_primTerseUpdateRate);
537 m_primFullUpdateRate = clientConfig.GetInt("FullUpdateRate",
538 m_primFullUpdateRate);
539
529 } 540 }
530 } 541 }
531 542
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example
index f11310a..8ae6e00 100644
--- a/bin/OpenSim.ini.example
+++ b/bin/OpenSim.ini.example
@@ -1279,3 +1279,9 @@
1279[LLClient] 1279[LLClient]
1280 ; Resend packets markes as reliable until they are received 1280 ; Resend packets markes as reliable until they are received
1281 ;ReliableIsImportant = false 1281 ;ReliableIsImportant = false
1282
1283 ; Configures how ObjectUpdates are compressed.
1284 ;TerseUpdatesPerPacket=10
1285 ;FullUpdatesPerPacket=14
1286 ;TerseUpdateRate=10
1287 ;FullUpdateRate=14