diff options
author | Justin Clark-Casey (justincc) | 2014-10-06 23:39:52 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-11-25 23:18:39 +0000 |
commit | a142edec032fe5bc1c225be138a2b31c8f9c0f7e (patch) | |
tree | 50ed9cc2339b8ed0e004fcc16d8e3380df750205 /OpenSim/Region | |
parent | minor: fix bug in throttle logging where arguments were mismatched (diff) | |
download | opensim-SC_OLD-a142edec032fe5bc1c225be138a2b31c8f9c0f7e.zip opensim-SC_OLD-a142edec032fe5bc1c225be138a2b31c8f9c0f7e.tar.gz opensim-SC_OLD-a142edec032fe5bc1c225be138a2b31c8f9c0f7e.tar.bz2 opensim-SC_OLD-a142edec032fe5bc1c225be138a2b31c8f9c0f7e.tar.xz |
minor: add apparant total to logging when client sets throttles
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs index c0534af..ea3db0b 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs | |||
@@ -434,9 +434,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
434 | //int total = resend + land + wind + cloud + task + texture + asset; | 434 | //int total = resend + land + wind + cloud + task + texture + asset; |
435 | 435 | ||
436 | if (ThrottleDebugLevel > 0) | 436 | if (ThrottleDebugLevel > 0) |
437 | { | ||
438 | long total = resend + land + wind + cloud + task + texture + asset; | ||
437 | m_log.DebugFormat( | 439 | m_log.DebugFormat( |
438 | "[LLUDPCLIENT]: {0} is setting throttles in {1} to Resend={2}, Land={3}, Wind={4}, Cloud={5}, Task={6}, Texture={7}, Asset={8}", | 440 | "[LLUDPCLIENT]: {0} is setting throttles in {1} to Resend={2}, Land={3}, Wind={4}, Cloud={5}, Task={6}, Texture={7}, Asset={8}, TOTAL = {9}", |
439 | AgentID, m_udpServer.Scene.Name, resend, land, wind, cloud, task, texture, asset); | 441 | AgentID, m_udpServer.Scene.Name, resend, land, wind, cloud, task, texture, asset, total); |
442 | } | ||
440 | 443 | ||
441 | // Update the token buckets with new throttle values | 444 | // Update the token buckets with new throttle values |
442 | TokenBucket bucket; | 445 | TokenBucket bucket; |