From 4c45b5fd3c6b636552b819c6a56c1a3c23683bfb Mon Sep 17 00:00:00 2001
From: John Hurliman
Date: Fri, 23 Oct 2009 10:35:47 -0700
Subject: Cleaning up OpenSim.ini.example for LLUDP. The [LLClient] section has
been removed and several new parameters have been added to
[ClientStack.LindenUDP]
---
.../Region/ClientStack/LindenUDP/LLUDPServer.cs | 24 ++++++++++++++++++++++
1 file changed, 24 insertions(+)
(limited to 'OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs')
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index e9faf2e..232c9c9 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -98,6 +98,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP
/// The measured resolution of Environment.TickCount
public readonly float TickCountResolution;
+ /// Number of terse prim updates to put on the queue each time the
+ /// OnQueueEmpty event is triggered for updates
+ public readonly int PrimTerseUpdatesPerPacket;
+ /// Number of terse avatar updates to put on the queue each time the
+ /// OnQueueEmpty event is triggered for updates
+ public readonly int AvatarTerseUpdatesPerPacket;
+ /// Number of full prim updates to put on the queue each time the
+ /// OnQueueEmpty event is triggered for updates
+ public readonly int PrimFullUpdatesPerPacket;
+ /// Number of texture packets to put on the queue each time the
+ /// OnQueueEmpty event is triggered for textures
+ public readonly int TextureSendLimit;
/// Handlers for incoming packets
//PacketEventDictionary packetEvents = new PacketEventDictionary();
@@ -172,6 +184,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP
m_asyncPacketHandling = config.GetBoolean("async_packet_handling", false);
m_recvBufferSize = config.GetInt("client_socket_rcvbuf_size", 0);
sceneThrottleBps = config.GetInt("scene_throttle_max_bps", 0);
+
+ PrimTerseUpdatesPerPacket = config.GetInt("PrimTerseUpdatesPerPacket", 25);
+ AvatarTerseUpdatesPerPacket = config.GetInt("AvatarTerseUpdatesPerPacket", 10);
+ PrimFullUpdatesPerPacket = config.GetInt("PrimFullUpdatesPerPacket", 100);
+ TextureSendLimit = config.GetInt("TextureSendLimit", 20);
+ }
+ else
+ {
+ PrimTerseUpdatesPerPacket = 25;
+ AvatarTerseUpdatesPerPacket = 10;
+ PrimFullUpdatesPerPacket = 100;
+ TextureSendLimit = 20;
}
m_throttle = new TokenBucket(null, sceneThrottleBps, sceneThrottleBps);
--
cgit v1.1