From 6492640e72776d9f0a015e6a719c8cef28ccb7e3 Mon Sep 17 00:00:00 2001 From: John Hurliman Date: Wed, 21 Oct 2009 18:03:41 -0700 Subject: * Change the OnQueueEmpty signature to send the flags of the queues that are empty instead of firing once per empty queue * Change the OnQueueEmpty firing to use a minimum time until next fire instead of a sleep * Set OutgoingPacket.TickCount = 0 earlier to avoid extra resends when things are running slowly (inside a profiler, for example) --- OpenSim/Framework/ThrottleOutPacketType.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'OpenSim/Framework/ThrottleOutPacketType.cs') diff --git a/OpenSim/Framework/ThrottleOutPacketType.cs b/OpenSim/Framework/ThrottleOutPacketType.cs index e21ff32..d56231a 100644 --- a/OpenSim/Framework/ThrottleOutPacketType.cs +++ b/OpenSim/Framework/ThrottleOutPacketType.cs @@ -51,4 +51,16 @@ namespace OpenSim.Framework /// This is a sub-category of Task State = 7, } + + [Flags] + public enum ThrottleOutPacketTypeFlags + { + Land = 1 << 0, + Wind = 1 << 1, + Cloud = 1 << 2, + Task = 1 << 3, + Texture = 1 << 4, + Asset = 1 << 5, + State = 1 << 6, + } } -- cgit v1.1