diff options
author | John Hurliman | 2009-10-21 18:03:41 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-21 18:03:41 -0700 |
commit | 6492640e72776d9f0a015e6a719c8cef28ccb7e3 (patch) | |
tree | af67792558e46e5b5abce59032223b8bae388859 /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |
parent | * Clarified what FireQueueEmpty is doing with a MIN_CALLBACK_MS constant and ... (diff) | |
download | opensim-SC-6492640e72776d9f0a015e6a719c8cef28ccb7e3.zip opensim-SC-6492640e72776d9f0a015e6a719c8cef28ccb7e3.tar.gz opensim-SC-6492640e72776d9f0a015e6a719c8cef28ccb7e3.tar.bz2 opensim-SC-6492640e72776d9f0a015e6a719c8cef28ccb7e3.tar.xz |
* 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)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index 40d3771..a9f4b2c 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -424,10 +424,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
424 | outgoingPacket.Buffer.Data[0] = (byte)(outgoingPacket.Buffer.Data[0] | Helpers.MSG_RESENT); | 424 | outgoingPacket.Buffer.Data[0] = (byte)(outgoingPacket.Buffer.Data[0] | Helpers.MSG_RESENT); |
425 | outgoingPacket.Category = ThrottleOutPacketType.Resend; | 425 | outgoingPacket.Category = ThrottleOutPacketType.Resend; |
426 | 426 | ||
427 | // The TickCount will be set to the current time when the packet | ||
428 | // is actually sent out again | ||
429 | outgoingPacket.TickCount = 0; | ||
430 | |||
431 | // Bump up the resend count on this packet | 427 | // Bump up the resend count on this packet |
432 | Interlocked.Increment(ref outgoingPacket.ResendCount); | 428 | Interlocked.Increment(ref outgoingPacket.ResendCount); |
433 | //Interlocked.Increment(ref Stats.ResentPackets); | 429 | //Interlocked.Increment(ref Stats.ResentPackets); |