aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs34
1 files changed, 16 insertions, 18 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs
index c768662..b70d861 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs
@@ -447,31 +447,29 @@ namespace OpenSim.Region.ClientStack.LindenUDP
447 long total = resend + land + wind + cloud + task + texture + asset; 447 long total = resend + land + wind + cloud + task + texture + asset;
448 m_throttleClient.TargetDripRate = total; 448 m_throttleClient.TargetDripRate = total;
449 } 449 }
450 else
451 {
452 TokenBucket bucket;
453 450
454 bucket = m_throttleCategories[(int)ThrottleOutPacketType.Resend]; 451 TokenBucket bucket;
455 bucket.RequestedDripRate = resend;
456 452
457 bucket = m_throttleCategories[(int)ThrottleOutPacketType.Land]; 453 bucket = m_throttleCategories[(int)ThrottleOutPacketType.Resend];
458 bucket.RequestedDripRate = land; 454 bucket.RequestedDripRate = resend;
459 455
460 bucket = m_throttleCategories[(int)ThrottleOutPacketType.Wind]; 456 bucket = m_throttleCategories[(int)ThrottleOutPacketType.Land];
461 bucket.RequestedDripRate = wind; 457 bucket.RequestedDripRate = land;
462 458
463 bucket = m_throttleCategories[(int)ThrottleOutPacketType.Cloud]; 459 bucket = m_throttleCategories[(int)ThrottleOutPacketType.Wind];
464 bucket.RequestedDripRate = cloud; 460 bucket.RequestedDripRate = wind;
465 461
466 bucket = m_throttleCategories[(int)ThrottleOutPacketType.Asset]; 462 bucket = m_throttleCategories[(int)ThrottleOutPacketType.Cloud];
467 bucket.RequestedDripRate = asset; 463 bucket.RequestedDripRate = cloud;
468 464
469 bucket = m_throttleCategories[(int)ThrottleOutPacketType.Task]; 465 bucket = m_throttleCategories[(int)ThrottleOutPacketType.Asset];
470 bucket.RequestedDripRate = task; 466 bucket.RequestedDripRate = asset;
471 467
472 bucket = m_throttleCategories[(int)ThrottleOutPacketType.Texture]; 468 bucket = m_throttleCategories[(int)ThrottleOutPacketType.Task];
473 bucket.RequestedDripRate = texture; 469 bucket.RequestedDripRate = task;
474 } 470
471 bucket = m_throttleCategories[(int)ThrottleOutPacketType.Texture];
472 bucket.RequestedDripRate = texture;
475 473
476 // Reset the packed throttles cached data 474 // Reset the packed throttles cached data
477 m_packedThrottles = null; 475 m_packedThrottles = null;