diff options
author | Justin Clark-Casey (justincc) | 2014-09-30 18:41:04 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-11-25 23:18:38 +0000 |
commit | e144958e03a5c2bd723b43db75a926452af60e43 (patch) | |
tree | d00ad0f856d39002dacc899db6cf60fc1e933935 /OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs | |
parent | Eliminate a few unnecessary calculations in the maintenance loop. (diff) | |
download | opensim-SC-e144958e03a5c2bd723b43db75a926452af60e43.zip opensim-SC-e144958e03a5c2bd723b43db75a926452af60e43.tar.gz opensim-SC-e144958e03a5c2bd723b43db75a926452af60e43.tar.bz2 opensim-SC-e144958e03a5c2bd723b43db75a926452af60e43.tar.xz |
Add "debug lludp throttle set" command to allow setting of parameters at runtime
Can currently only set adaptive true|false, where adaptive = false
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs b/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs index 658d9bb..e4a12bd 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs | |||
@@ -340,10 +340,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
340 | public Int64 MaxDripRate | 340 | public Int64 MaxDripRate |
341 | { | 341 | { |
342 | get { return (m_maxDripRate == 0 ? m_totalDripRequest : m_maxDripRate); } | 342 | get { return (m_maxDripRate == 0 ? m_totalDripRequest : m_maxDripRate); } |
343 | protected set { m_maxDripRate = (value == 0 ? 0 : Math.Max(value,m_minimumFlow)); } | 343 | set { m_maxDripRate = (value == 0 ? 0 : Math.Max(value,m_minimumFlow)); } |
344 | } | 344 | } |
345 | 345 | ||
346 | public bool Enabled { get; private set; } | 346 | public bool Enabled { get; set; } |
347 | 347 | ||
348 | // <summary> | 348 | // <summary> |
349 | // | 349 | // |