aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-14 16:21:48 -0700
committerJohn Hurliman2009-10-14 16:21:48 -0700
commit82012ec4e3c441021795c66112a66e002d459e73 (patch)
treee14187ec631f08cb56e0c5da3a28aa8cb727b378 /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
parent* Switched to a plain lock for the ClientManager collections and protected th... (diff)
downloadopensim-SC_OLD-82012ec4e3c441021795c66112a66e002d459e73.zip
opensim-SC_OLD-82012ec4e3c441021795c66112a66e002d459e73.tar.gz
opensim-SC_OLD-82012ec4e3c441021795c66112a66e002d459e73.tar.bz2
opensim-SC_OLD-82012ec4e3c441021795c66112a66e002d459e73.tar.xz
* Clean up the SetThrottle() code and add a maxBurstRate parameter to allow more tweaking in the future
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index 09845d6..890f701 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -147,7 +147,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
147 sceneThrottleBps = config.GetInt("scene_throttle_max_bps", 0); 147 sceneThrottleBps = config.GetInt("scene_throttle_max_bps", 0);
148 } 148 }
149 149
150 // TODO: Config support for throttling the entire connection
151 m_throttle = new TokenBucket(null, sceneThrottleBps, sceneThrottleBps); 150 m_throttle = new TokenBucket(null, sceneThrottleBps, sceneThrottleBps);
152 m_throttleRates = new ThrottleRates(configSource); 151 m_throttleRates = new ThrottleRates(configSource);
153 } 152 }