Allow some more connections to try to ease lag.

avinationmerge
Melanie 2012-09-14 00:14:39 +02:00
parent f14b257fc0
commit 45fe25de0d
2 changed files with 4 additions and 2 deletions

View File

@ -74,7 +74,7 @@ namespace OpenSim
AppDomain.CurrentDomain.UnhandledException +=
new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
ServicePointManager.DefaultConnectionLimit = 6;
ServicePointManager.DefaultConnectionLimit = 12;
// Add the arguments supplied when running the application to the configuration
ArgvConfigSource configSource = new ArgvConfigSource(args);

View File

@ -467,6 +467,8 @@ namespace OpenSim.Region.ClientStack.Linden
if (llsdRequest.asset_type == "mesh")
{
cost += 20; // Constant for now to test showing a price
if (llsdRequest.asset_resources == null)
{
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;
textures_cost *= (uint)mm.UploadCharge;
cost = textures_cost;
cost += textures_cost;
}
else
{