aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/TokenBucket.cs
diff options
context:
space:
mode:
authorMic Bowman2011-04-22 14:02:34 -0700
committerMic Bowman2011-04-22 14:02:34 -0700
commit08e58e7ca6602782e1727bed9ade89fa42e9b55b (patch)
treefc7e11000ddf7edc90b1b5cff9ee098d4982f3fa /OpenSim/Region/ClientStack/LindenUDP/TokenBucket.cs
parentVarious clean ups. Removed some debugging code. Added a new "show pqueues" (diff)
downloadopensim-SC-08e58e7ca6602782e1727bed9ade89fa42e9b55b.zip
opensim-SC-08e58e7ca6602782e1727bed9ade89fa42e9b55b.tar.gz
opensim-SC-08e58e7ca6602782e1727bed9ade89fa42e9b55b.tar.bz2
opensim-SC-08e58e7ca6602782e1727bed9ade89fa42e9b55b.tar.xz
Set the initial rate for the adaptive throttle to 160Kpbs
or about 15 packets per second.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/TokenBucket.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/TokenBucket.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/TokenBucket.cs b/OpenSim/Region/ClientStack/LindenUDP/TokenBucket.cs
index 8ce64d5..677d3d1 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/TokenBucket.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/TokenBucket.cs
@@ -322,10 +322,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
322 { 322 {
323 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 323 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
324 324
325 // <summary> 325 /// <summary>
326 // The minimum rate for flow control. 326 /// The minimum rate for flow control. Minimum drip rate is one
327 // </summary> 327 /// packet per second. Open the throttle to 15 packets per second
328 protected const Int64 m_minimumFlow = m_minimumDripRate * 10; 328 /// or about 160kbps.
329 /// </summary>
330 protected const Int64 m_minimumFlow = m_minimumDripRate * 15;
329 331
330 // <summary> 332 // <summary>
331 // The maximum rate for flow control. Drip rate can never be 333 // The maximum rate for flow control. Drip rate can never be