aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-10-06 20:34:17 +0100
committerJustin Clark-Casey (justincc)2014-11-25 23:18:39 +0000
commitc8f5add2fc2c33437a0b3162daaea8816696cd74 (patch)
tree1f57bf66bf5feffaa142eabec4951cbcd82b14bd /OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
parentrefactor: Use simpler auto-implemented property for HttpPort in GridRegion (diff)
downloadopensim-SC_OLD-c8f5add2fc2c33437a0b3162daaea8816696cd74.zip
opensim-SC_OLD-c8f5add2fc2c33437a0b3162daaea8816696cd74.tar.gz
opensim-SC_OLD-c8f5add2fc2c33437a0b3162daaea8816696cd74.tar.bz2
opensim-SC_OLD-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.cs5
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; }