* Clean up the SetThrottle() code and add a maxBurstRate parameter to allow more tweaking in the future

This commit is contained in:
John Hurliman
2009-10-14 16:21:48 -07:00
parent 1e9e9df0b3
commit 82012ec4e3
5 changed files with 171 additions and 109 deletions

View File

@@ -147,7 +147,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
sceneThrottleBps = config.GetInt("scene_throttle_max_bps", 0);
}
// TODO: Config support for throttling the entire connection
m_throttle = new TokenBucket(null, sceneThrottleBps, sceneThrottleBps);
m_throttleRates = new ThrottleRates(configSource);
}