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.
This commit is contained in:
Justin Clark-Casey (justincc)
2014-10-25 02:09:37 +01:00
parent b114f5626e
commit b2e377f168
5 changed files with 82 additions and 53 deletions

View File

@@ -512,7 +512,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if (!ConsoleUtil.TryParseConsoleInt(MainConsole.Instance, rawValue, out newValue))
return;
m_udpServer.Throttle.RequestedDripRate = newValue * 1000 / 8;
m_udpServer.Throttle.MaxDripRate = newValue * 1000 / 8;
}
else if (param == "max-new-client-throttle")
{