aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-10-25 02:09:37 +0100
committerJustin Clark-Casey (justincc)2014-11-25 23:22:20 +0000
commitb2e377f168967f7cedb32f077ee54b9f92439205 (patch)
treee6904f3c5a57a0334dd59c4164826c6dda0e1f69 /OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs
parentAdd request drip rate to assertions for token bucket regression tests (diff)
downloadopensim-SC-b2e377f168967f7cedb32f077ee54b9f92439205.zip
opensim-SC-b2e377f168967f7cedb32f077ee54b9f92439205.tar.gz
opensim-SC-b2e377f168967f7cedb32f077ee54b9f92439205.tar.bz2
opensim-SC-b2e377f168967f7cedb32f077ee54b9f92439205.tar.xz
Fix setting of max scene throttle so that setting it restricts the child client throttles properly.
In "show throttles", also renames 'total' column to 'actual' to reflect that it is not necessarily the throttles requested for/by the client. Also fills out 'target' in non-adapative mode to the actual throttle requested for/by the client.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs
index 60b93ac..e0398d5 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs
@@ -512,7 +512,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
512 if (!ConsoleUtil.TryParseConsoleInt(MainConsole.Instance, rawValue, out newValue)) 512 if (!ConsoleUtil.TryParseConsoleInt(MainConsole.Instance, rawValue, out newValue))
513 return; 513 return;
514 514
515 m_udpServer.Throttle.RequestedDripRate = newValue * 1000 / 8; 515 m_udpServer.Throttle.MaxDripRate = newValue * 1000 / 8;
516 } 516 }
517 else if (param == "max-new-client-throttle") 517 else if (param == "max-new-client-throttle")
518 { 518 {