mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* Pull client throttle multipler setting out of config source. Not an adjustable setting yet (and then only for debug purposes)
This commit is contained in:
@@ -148,8 +148,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
IPAddress _listenIP, ref uint port, int proxyPortOffsetParm, bool allow_alternate_port, IConfigSource configSource,
|
||||
AssetCache assetCache, AgentCircuitManager circuitManager)
|
||||
{
|
||||
// XXX Temporary until we start unpacking the config source
|
||||
ClientStackUserSettings userSettings = new ClientStackUserSettings();
|
||||
userSettings.ClientThrottleMultipler = 8;
|
||||
|
||||
IConfig config = configSource.Configs["ClientStack.LindenUDP"];
|
||||
|
||||
if (config != null)
|
||||
{
|
||||
userSettings.ClientThrottleMultipler = config.GetInt("client_throttle_multiplier");
|
||||
}
|
||||
|
||||
//m_log.DebugFormat("[CLIENT]: client_throttle_multiplier = {0}", userSettings.ClientThrottleMultipler);
|
||||
|
||||
proxyPortOffset = proxyPortOffsetParm;
|
||||
listenPort = (uint) (port + proxyPortOffsetParm);
|
||||
|
||||
Reference in New Issue
Block a user