aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
diff options
context:
space:
mode:
authorUbitUmarov2014-09-02 15:48:59 +0100
committerUbitUmarov2014-09-02 15:48:59 +0100
commit50433e089b548d3e9233b897568b7def489323fb (patch)
tree6e07ac5ce845ada8b2916736920278269079b53e /OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
parentmake use of it in GetMeshModule, and meshs are Assets not Task itens, (diff)
downloadopensim-SC-50433e089b548d3e9233b897568b7def489323fb.zip
opensim-SC-50433e089b548d3e9233b897568b7def489323fb.tar.gz
opensim-SC-50433e089b548d3e9233b897568b7def489323fb.tar.bz2
opensim-SC-50433e089b548d3e9233b897568b7def489323fb.tar.xz
*needs testing, not that good* change throttles math using floats and not
int64, etc. Limite brust bytes to the total rate client requested times a look ahead estimation time, Avoid queues starvation with updates waiting...
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
index dea9d7f..9b3802d 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
@@ -449,7 +449,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
449 } 449 }
450 #endregion BinaryStats 450 #endregion BinaryStats
451 451
452 m_throttle = new TokenBucket(null, sceneThrottleBps); 452 m_throttle = new TokenBucket(null, sceneThrottleBps, sceneThrottleBps * 10e-3f);
453 ThrottleRates = new ThrottleRates(configSource); 453 ThrottleRates = new ThrottleRates(configSource);
454 454
455 Random rnd = new Random(Util.EnvironmentTickCount()); 455 Random rnd = new Random(Util.EnvironmentTickCount());