diff options
author | Adam Frisby | 2009-05-02 19:09:48 +0000 |
---|---|---|
committer | Adam Frisby | 2009-05-02 19:09:48 +0000 |
commit | 0b2a34438c9d904e7be1d85024689d09c60a4b4a (patch) | |
tree | ee56a16b6789ac635d098b86471b3b9a6d3282fc /OpenSim/Region | |
parent | Plumb conifg into the client views. Add config option to configure packet (diff) | |
download | opensim-SC_OLD-0b2a34438c9d904e7be1d85024689d09c60a4b4a.zip opensim-SC_OLD-0b2a34438c9d904e7be1d85024689d09c60a4b4a.tar.gz opensim-SC_OLD-0b2a34438c9d904e7be1d85024689d09c60a4b4a.tar.bz2 opensim-SC_OLD-0b2a34438c9d904e7be1d85024689d09c60a4b4a.tar.xz |
* Makes ObjectUpdate compressing tweakable in OpenSim.ini - introduces:
TerseUpdatesPerPacket=10
FullUpdatesPerPacket=14
TerseUpdateRate=10
FullUpdateRate=14
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 15 |
1 files changed, 13 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 | ||