diff options
author | Mic Bowman | 2011-04-11 09:06:28 -0700 |
---|---|---|
committer | Mic Bowman | 2011-04-13 15:37:25 -0700 |
commit | 5b89c66c9704f2bd219a35f8a70ac60e751d7f49 (patch) | |
tree | 6b1f271ad395d43108070b52f619f12a386ce80a /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |
parent | Use common coalesced serialization code for both tests and the InventoryAcces... (diff) | |
download | opensim-SC_OLD-5b89c66c9704f2bd219a35f8a70ac60e751d7f49.zip opensim-SC_OLD-5b89c66c9704f2bd219a35f8a70ac60e751d7f49.tar.gz opensim-SC_OLD-5b89c66c9704f2bd219a35f8a70ac60e751d7f49.tar.bz2 opensim-SC_OLD-5b89c66c9704f2bd219a35f8a70ac60e751d7f49.tar.xz |
New tokenbucket algorithm. This one provides fair sharing of the queues
when client and simulator throttles are set. This algorithm also uses
pre-defined burst rate of 150% of the sustained rate for each of the
throttles.
Removed the "state" queue. The state queue is not a Linden queue and
appeared to be used just to get kill packets sent.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index 583214c..d08b25f 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -228,7 +228,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
228 | } | 228 | } |
229 | #endregion BinaryStats | 229 | #endregion BinaryStats |
230 | 230 | ||
231 | m_throttle = new TokenBucket(null, sceneThrottleBps, sceneThrottleBps); | 231 | m_throttle = new TokenBucket(null, sceneThrottleBps); |
232 | ThrottleRates = new ThrottleRates(configSource); | 232 | ThrottleRates = new ThrottleRates(configSource); |
233 | } | 233 | } |
234 | 234 | ||