* 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

@ -140,9 +140,12 @@ namespace OpenSim.Region.Environment.Modules
if (dispatchedTextureRequestCounts[e.RequestedAssetID] > MAX_ALLOWED_TEXTURE_REQUESTS) if (dispatchedTextureRequestCounts[e.RequestedAssetID] > MAX_ALLOWED_TEXTURE_REQUESTS)
{ {
m_log.WarnFormat( if (MAX_ALLOWED_TEXTURE_REQUESTS + 1 == dispatchedTextureRequestCounts[e.RequestedAssetID])
"[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); 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; return;
} }