disable bad/broken throttle options

melanie
UbitUmarov 2016-11-05 19:17:25 +00:00
parent 4b0457b2d3
commit 22d20dbf17
1 changed files with 8 additions and 3 deletions

View File

@ -100,11 +100,16 @@ namespace OpenSim.Region.ClientStack.LindenUDP
BrustTime = (float)throttleConfig.GetInt("client_throttle_burtsTimeMS", 10); BrustTime = (float)throttleConfig.GetInt("client_throttle_burtsTimeMS", 10);
BrustTime *= 1e-3f; BrustTime *= 1e-3f;
AdaptiveThrottlesEnabled = throttleConfig.GetBoolean("enable_adaptive_throttles", false); // Adaptive is broken
// AdaptiveThrottlesEnabled = throttleConfig.GetBoolean("enable_adaptive_throttles", false);
AdaptiveThrottlesEnabled = false;
MinimumAdaptiveThrottleRate = throttleConfig.GetInt("adaptive_throttle_min_bps", 32000); MinimumAdaptiveThrottleRate = throttleConfig.GetInt("adaptive_throttle_min_bps", 32000);
CannibalizeTextureRate = (double)throttleConfig.GetFloat("CannibalizeTextureRate", 0.0f); // http textures do use udp bandwith setting
CannibalizeTextureRate = Util.Clamp<double>(CannibalizeTextureRate,0.0, 0.9); // CannibalizeTextureRate = (double)throttleConfig.GetFloat("CannibalizeTextureRate", 0.0f);
// CannibalizeTextureRate = Util.Clamp<double>(CannibalizeTextureRate,0.0, 0.9);
CannibalizeTextureRate = 0f;
} }
catch (Exception) { } catch (Exception) { }
} }