* Small adjust to last commit's logging so we only print out one warning when we start dropping requests

0.6.0-stable
Justin Clarke Casey 2008-03-21 20:19:43 +00:00
parent 181c5ab7d7
commit be83ac37f9
1 changed files with 6 additions and 3 deletions

View File

@ -139,10 +139,13 @@ namespace OpenSim.Region.Environment.Modules
dispatchedTextureRequestCounts[e.RequestedAssetID] += 1;
if (dispatchedTextureRequestCounts[e.RequestedAssetID] > MAX_ALLOWED_TEXTURE_REQUESTS)
{
if (MAX_ALLOWED_TEXTURE_REQUESTS + 1 == dispatchedTextureRequestCounts[e.RequestedAssetID])
{
m_log.WarnFormat(
"[USER TEXTURE DOWNLOAD SERVICE]: No longer sending already dispatched texture {0} to {1} since it has made more than {2} requests for it",
e.RequestedAssetID, m_client.AgentId, MAX_ALLOWED_TEXTURE_REQUESTS);
}
return;
}