diff options
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 fd369c4..f769383 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs | |||
@@ -104,8 +104,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
104 | get { return m_burst; } | 104 | get { return m_burst; } |
105 | set { | 105 | set { |
106 | float rate = (value < 0 ? 0 : value); | 106 | float rate = (value < 0 ? 0 : value); |
107 | if (rate < m_minimumDripRate) | 107 | if (rate < 1.5f * m_minimumDripRate) |
108 | rate = m_minimumDripRate; | 108 | rate = 1.5f * m_minimumDripRate; |
109 | else if (rate > m_minimumDripRate * m_quantumsPerBurst) | 109 | else if (rate > m_minimumDripRate * m_quantumsPerBurst) |
110 | rate = m_minimumDripRate * m_quantumsPerBurst; | 110 | rate = m_minimumDripRate * m_quantumsPerBurst; |
111 | 111 | ||