Allow setting max connections for an endpoint

connector_plugin
Melanie 2012-09-14 00:11:23 +02:00
parent 7cc89cdadc
commit 060d6fe8f4
2 changed files with 4 additions and 4 deletions

View File

@ -648,7 +648,7 @@ namespace OpenSim.Framework.Servers.HttpServer
// Every month or so this will wrap and give bad numbers, not really a problem
// since its just for reporting
int tickdiff = requestEndTick - requestStartTick;
if (tickdiff > 3000)
if (tickdiff > 3000 && requestHandler.Name != "GetTexture")
{
m_log.InfoFormat(
"[BASE HTTP SERVER]: Slow handling of {0} {1} {2} {3} {4} from {5} took {6}ms",

View File

@ -108,7 +108,7 @@ namespace OpenSim.Services.Connectors
if (asset == null)
{
asset = SynchronousRestObjectRequester.
MakeRequest<int, AssetBase>("GET", uri, 0);
MakeRequest<int, AssetBase>("GET", uri, 0, 30);
if (m_Cache != null)
m_Cache.Cache(asset);
@ -221,7 +221,7 @@ namespace OpenSim.Services.Connectors
m_AssetHandlers.Remove(id);
}
handlers.Invoke(a);
});
}, 30);
success = true;
}
@ -326,4 +326,4 @@ namespace OpenSim.Services.Connectors
return false;
}
}
}
}