Eliminate 'max' throttle setting from server throttles report since this never applies.

ghosts
Justin Clark-Casey (justincc) 2014-10-07 00:08:44 +01:00
parent 523f0b8938
commit 7ca4e2cb6f
1 changed files with 4 additions and 9 deletions

View File

@ -193,8 +193,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
StringBuilder report = new StringBuilder(); StringBuilder report = new StringBuilder();
report.AppendFormat( report.AppendFormat(
"{0,8} {1,7} {2,8} {3,7} {4,7} {5,7} {6,7} {7,9} {8,7}\n", "{0,7} {1,8} {2,7} {3,7} {4,7} {5,7} {6,9} {7,7}\n",
"Max",
"Total", "Total",
"Resend", "Resend",
"Land", "Land",
@ -205,8 +204,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
"Asset"); "Asset");
report.AppendFormat( report.AppendFormat(
"{0,8} {1,7} {2,8} {3,7} {4,7} {5,7} {6,7} {7,9} {8,7}\n", "{0,7} {1,8} {2,7} {3,7} {4,7} {5,7} {6,9} {7,7}\n",
"kb/s",
"kb/s", "kb/s",
"kb/s", "kb/s",
"kb/s", "kb/s",
@ -216,12 +214,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
"kb/s", "kb/s",
"kb/s"); "kb/s");
report.AppendLine();
ThrottleRates throttleRates = udpServer.ThrottleRates; ThrottleRates throttleRates = udpServer.ThrottleRates;
report.AppendFormat( report.AppendFormat(
"{0,8} {1,7} {2,8} {3,7} {4,7} {5,7} {6,7} {7,9} {8,7}", "{0,7} {1,8} {2,7} {3,7} {4,7} {5,7} {6,9} {7,7}",
"-",
(throttleRates.Total * 8) / 1000, (throttleRates.Total * 8) / 1000,
(throttleRates.Resend * 8) / 1000, (throttleRates.Resend * 8) / 1000,
(throttleRates.Land * 8) / 1000, (throttleRates.Land * 8) / 1000,