diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs index e623ee9..b9f8305 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs | |||
@@ -181,12 +181,16 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
181 | m_console.OutputFormat("Throttles for {0}", m_udpServer.Scene.Name); | 181 | m_console.OutputFormat("Throttles for {0}", m_udpServer.Scene.Name); |
182 | ConsoleDisplayList cdl = new ConsoleDisplayList(); | 182 | ConsoleDisplayList cdl = new ConsoleDisplayList(); |
183 | cdl.AddRow("Adaptive throttles", m_udpServer.ThrottleRates.AdaptiveThrottlesEnabled); | 183 | cdl.AddRow("Adaptive throttles", m_udpServer.ThrottleRates.AdaptiveThrottlesEnabled); |
184 | |||
185 | long maxSceneDripRate = m_udpServer.MaxTotalDripRate; | ||
184 | cdl.AddRow( | 186 | cdl.AddRow( |
185 | "Max scene throttle", | 187 | "Max scene throttle", |
186 | m_udpServer.MaxTotalDripRate != 0 ? string.Format("{0} kbps", m_udpServer.MaxTotalDripRate * 8 / 1000) : "unset"); | 188 | maxSceneDripRate != 0 ? string.Format("{0} kbps", maxSceneDripRate * 8 / 1000) : "unset"); |
189 | |||
190 | int maxClientDripRate = m_udpServer.ThrottleRates.Total; | ||
187 | cdl.AddRow( | 191 | cdl.AddRow( |
188 | "Max new client throttle", | 192 | "Max new client throttle", |
189 | string.Format("{0} kbps", m_udpServer.ThrottleRates.Total * 8 / 1000)); | 193 | maxClientDripRate != 0 ? string.Format("{0} kbps", maxClientDripRate * 8 / 1000) : "unset"); |
190 | 194 | ||
191 | m_console.Output(cdl.ToString()); | 195 | m_console.Output(cdl.ToString()); |
192 | 196 | ||