From c81378dc22499ccb03f827e4821214ce7eb87dc1 Mon Sep 17 00:00:00 2001 From: John Hurliman Date: Fri, 16 Oct 2009 17:33:41 -0700 Subject: Changing avatar movement updates to the Task throttle category until we get finer grained prioritization of avatars vs. prims --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 383eac0..43c3c7c 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -3426,7 +3426,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP terse.Header.Reliable = false; terse.Header.Zerocoded = true; - OutPacket(terse, ThrottleOutPacketType.State); + OutPacket(terse, ThrottleOutPacketType.Task); } } @@ -3582,14 +3582,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP void HandleQueueEmpty(ThrottleOutPacketType queue) { + int count = 0; + switch (queue) { case ThrottleOutPacketType.Texture: ProcessTextureRequests(); break; - case ThrottleOutPacketType.State: - int count = 0; - + case ThrottleOutPacketType.Task: lock (m_avatarTerseUpdates.SyncRoot) count = m_avatarTerseUpdates.Count; if (count > 0) @@ -3597,7 +3597,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP ProcessAvatarTerseUpdates(); return; } - + break; + case ThrottleOutPacketType.State: lock (m_primFullUpdates.SyncRoot) count = m_primFullUpdates.Count; if (count > 0) -- cgit v1.1