This commit is contained in:
UbitUmarov
2019-04-23 14:52:15 +01:00
parent 5314f375c5
commit 8994045d5f
3 changed files with 25 additions and 14 deletions

View File

@@ -67,7 +67,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
public Int64 MinimumAdaptiveThrottleRate;
public int ClientMaxRate;
public float BrustTime;
public float BurstTime;
/// <summary>
/// Default constructor
@@ -94,8 +94,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if (ClientMaxRate > 1000000)
ClientMaxRate = 1000000; // no more than 8Mbps
BrustTime = (float)throttleConfig.GetInt("client_throttle_burtsTimeMS", 10);
BrustTime *= 1e-3f;
BurstTime = (float)throttleConfig.GetInt("client_throttle_burtsTimeMS", 10);
BurstTime *= 1e-3f;
// Adaptive is broken
// AdaptiveThrottlesEnabled = throttleConfig.GetBoolean("enable_adaptive_throttles", false);