diff --git a/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs b/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs
index f769383e3d..0f71222d61 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs
@@ -60,7 +60,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
///
///
- protected const float m_minimumDripRate = 1400;
+ protected const float m_minimumDripRate = 1500;
/// Time of the last drip, in system ticks
protected Int32 m_lastDrip;
@@ -286,6 +286,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
return false;
}
+ public bool CheckTokens(int amount)
+ {
+ return (m_tokenCount - amount >= 0);
+ }
+
public int GetCatBytesCanSend(int timeMS)
{
// return (int)(m_tokenCount + timeMS * m_dripRate * 1e-3);