From 9b342d3e0d85e64e143b9fe1010e4e27135e24ec Mon Sep 17 00:00:00 2001 From: John Hurliman Date: Fri, 2 Oct 2009 12:00:42 -0700 Subject: * Changed the flush logic to drop packets in non-transactional streams, and to not fire any "put more data in the queues" callbacks * Minor tweaks to code formatting to make the callback chain for packet queuing easier to follow --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index f05c490..43d29fd 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -3131,26 +3131,20 @@ namespace OpenSim.Region.ClientStack.LindenUDP } } - // Unlike the other timers, this one is only started after - // the first request is seen. - void HandleQueueEmpty(ThrottleOutPacketType queue) { switch (queue) { - case ThrottleOutPacketType.Texture: - ProcessTextureRequests(); - break; + case ThrottleOutPacketType.Texture: + ProcessTextureRequests(); + break; } } void ProcessTextureRequests() { if (m_imageManager != null) - { - m_imageManager.ProcessImageQueue(m_textureSendLimit, - m_textureDataLimit); - } + m_imageManager.ProcessImageQueue(m_textureSendLimit, m_textureDataLimit); } void ProcessPrimFullUpdates(object sender, ElapsedEventArgs e) -- cgit v1.1