diff options
author | UbitUmarov | 2016-11-09 10:21:02 +0000 |
---|---|---|
committer | UbitUmarov | 2016-11-09 10:21:02 +0000 |
commit | 94d2422230be405f44be3697e663ef4fac8369f8 (patch) | |
tree | 7316600d14df13177a8edae2ca1386e3ae92fded /OpenSim/Region/ClientStack/Linden/UDP/ThrottleRates.cs | |
parent | change the clock source on tokenBucket (diff) | |
download | opensim-SC-94d2422230be405f44be3697e663ef4fac8369f8.zip opensim-SC-94d2422230be405f44be3697e663ef4fac8369f8.tar.gz opensim-SC-94d2422230be405f44be3697e663ef4fac8369f8.tar.bz2 opensim-SC-94d2422230be405f44be3697e663ef4fac8369f8.tar.xz |
change the clock source on udp outgoing, remove some dead code
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/ThrottleRates.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/ThrottleRates.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/ThrottleRates.cs b/OpenSim/Region/ClientStack/Linden/UDP/ThrottleRates.cs index a476b91..6278e36 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/ThrottleRates.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/ThrottleRates.cs | |||
@@ -92,8 +92,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
92 | Asset = throttleConfig.GetInt("asset_default", 10500); | 92 | Asset = throttleConfig.GetInt("asset_default", 10500); |
93 | 93 | ||
94 | Total = Resend + Land + Wind + Cloud + Task + Texture + Asset; | 94 | Total = Resend + Land + Wind + Cloud + Task + Texture + Asset; |
95 | // 3000000 bps default max | 95 | // 5120000 bps default max |
96 | ClientMaxRate = throttleConfig.GetInt("client_throttle_max_bps", 375000); | 96 | ClientMaxRate = throttleConfig.GetInt("client_throttle_max_bps", 640000); |
97 | if (ClientMaxRate > 1000000) | 97 | if (ClientMaxRate > 1000000) |
98 | ClientMaxRate = 1000000; // no more than 8Mbps | 98 | ClientMaxRate = 1000000; // no more than 8Mbps |
99 | 99 | ||