diff options
author | Mic Bowman | 2014-12-29 18:46:33 -0800 |
---|---|---|
committer | Mic Bowman | 2014-12-29 18:46:33 -0800 |
commit | 041a09ecb9eed43936a88312c11e9440bd3b6337 (patch) | |
tree | 302aaa42287f0171e51b461d8aa1b16f0dfc1c15 /OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs | |
parent | Add debugging code for simulating packet loss in outgoing UDP packets. The (diff) | |
download | opensim-SC-041a09ecb9eed43936a88312c11e9440bd3b6337.zip opensim-SC-041a09ecb9eed43936a88312c11e9440bd3b6337.tar.gz opensim-SC-041a09ecb9eed43936a88312c11e9440bd3b6337.tar.bz2 opensim-SC-041a09ecb9eed43936a88312c11e9440bd3b6337.tar.xz |
Enable runtime configuration of the minimum rate for adaptive
throttles. Setting adaptive_throttle_min_bps will change the
minimum rate that the adapative throttles will drop to in case
of network packet loss. The current rate default rate is 256kbps.
The viewer can throttle rates under that amount, but the dynamic
adaptation will not.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs index 8f14806..de91856 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPClient.cs | |||
@@ -229,7 +229,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
229 | m_throttleClient | 229 | m_throttleClient |
230 | = new AdaptiveTokenBucket( | 230 | = new AdaptiveTokenBucket( |
231 | string.Format("adaptive throttle for {0} in {1}", AgentID, server.Scene.Name), | 231 | string.Format("adaptive throttle for {0} in {1}", AgentID, server.Scene.Name), |
232 | parentThrottle, 0, rates.Total, rates.AdaptiveThrottlesEnabled); | 232 | parentThrottle, 0, rates.Total, rates.MinimumAdaptiveThrottleRate, rates.AdaptiveThrottlesEnabled); |
233 | 233 | ||
234 | // Create an array of token buckets for this clients different throttle categories | 234 | // Create an array of token buckets for this clients different throttle categories |
235 | m_throttleCategories = new TokenBucket[THROTTLE_CATEGORY_COUNT]; | 235 | m_throttleCategories = new TokenBucket[THROTTLE_CATEGORY_COUNT]; |