Allow some more connections to try to ease lag.
parent
f14b257fc0
commit
45fe25de0d
|
@ -74,7 +74,7 @@ namespace OpenSim
|
||||||
AppDomain.CurrentDomain.UnhandledException +=
|
AppDomain.CurrentDomain.UnhandledException +=
|
||||||
new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
|
new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
|
||||||
|
|
||||||
ServicePointManager.DefaultConnectionLimit = 6;
|
ServicePointManager.DefaultConnectionLimit = 12;
|
||||||
|
|
||||||
// Add the arguments supplied when running the application to the configuration
|
// Add the arguments supplied when running the application to the configuration
|
||||||
ArgvConfigSource configSource = new ArgvConfigSource(args);
|
ArgvConfigSource configSource = new ArgvConfigSource(args);
|
||||||
|
|
|
@ -467,6 +467,8 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||||
|
|
||||||
if (llsdRequest.asset_type == "mesh")
|
if (llsdRequest.asset_type == "mesh")
|
||||||
{
|
{
|
||||||
|
cost += 20; // Constant for now to test showing a price
|
||||||
|
|
||||||
if (llsdRequest.asset_resources == null)
|
if (llsdRequest.asset_resources == null)
|
||||||
{
|
{
|
||||||
client.SendAgentAlertMessage("Unable to upload asset. missing information.", false);
|
client.SendAgentAlertMessage("Unable to upload asset. missing information.", false);
|
||||||
|
@ -480,7 +482,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||||
uint textures_cost = (uint)llsdRequest.asset_resources.texture_list.Array.Count;
|
uint textures_cost = (uint)llsdRequest.asset_resources.texture_list.Array.Count;
|
||||||
textures_cost *= (uint)mm.UploadCharge;
|
textures_cost *= (uint)mm.UploadCharge;
|
||||||
|
|
||||||
cost = textures_cost;
|
cost += textures_cost;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue