diff options
author | Justin Clark-Casey (justincc) | 2014-10-06 20:34:17 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-11-25 23:18:39 +0000 |
commit | c8f5add2fc2c33437a0b3162daaea8816696cd74 (patch) | |
tree | 1f57bf66bf5feffaa142eabec4951cbcd82b14bd /OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |
parent | refactor: Use simpler auto-implemented property for HttpPort in GridRegion (diff) | |
download | opensim-SC-c8f5add2fc2c33437a0b3162daaea8816696cd74.zip opensim-SC-c8f5add2fc2c33437a0b3162daaea8816696cd74.tar.gz opensim-SC-c8f5add2fc2c33437a0b3162daaea8816696cd74.tar.bz2 opensim-SC-c8f5add2fc2c33437a0b3162daaea8816696cd74.tar.xz |
Add "show server throttles" command for showing server specific information about throttles
This is separate from the user-oriented "show throttles" command since one will often only want to know about varying client throttle settings.
Currently displays max scene throttle and adaptive throttles config if set.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index 664e23e..9dfe0e9 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |||
@@ -247,6 +247,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
247 | //private UDPClientCollection m_clients = new UDPClientCollection(); | 247 | //private UDPClientCollection m_clients = new UDPClientCollection(); |
248 | /// <summary>Bandwidth throttle for this UDP server</summary> | 248 | /// <summary>Bandwidth throttle for this UDP server</summary> |
249 | protected TokenBucket m_throttle; | 249 | protected TokenBucket m_throttle; |
250 | |||
251 | /// <summary> | ||
252 | /// Gets the maximum total drip rate allowed to all clients. | ||
253 | /// </summary> | ||
254 | public long MaxTotalDripRate { get { return m_throttle.RequestedDripRate; } } | ||
250 | 255 | ||
251 | /// <summary>Bandwidth throttle rates for this UDP server</summary> | 256 | /// <summary>Bandwidth throttle rates for this UDP server</summary> |
252 | public ThrottleRates ThrottleRates { get; private set; } | 257 | public ThrottleRates ThrottleRates { get; private set; } |