aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-03-21 20:19:43 +0000
committerJustin Clarke Casey2008-03-21 20:19:43 +0000
commitbe83ac37f97eaf30dda1c8d6cd1700bbe5ee8f4b (patch)
tree7c090bf33fa3cbb224461cd76167ccf5af908f90 /OpenSim
parentImplements llGetObjectDetails() (diff)
downloadopensim-SC_OLD-be83ac37f97eaf30dda1c8d6cd1700bbe5ee8f4b.zip
opensim-SC_OLD-be83ac37f97eaf30dda1c8d6cd1700bbe5ee8f4b.tar.gz
opensim-SC_OLD-be83ac37f97eaf30dda1c8d6cd1700bbe5ee8f4b.tar.bz2
opensim-SC_OLD-be83ac37f97eaf30dda1c8d6cd1700bbe5ee8f4b.tar.xz
* Small adjust to last commit's logging so we only print out one warning when we start dropping requests
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs b/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs
index 06a5108..d233263 100644
--- a/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs
+++ b/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs
@@ -140,9 +140,12 @@ namespace OpenSim.Region.Environment.Modules
140 140
141 if (dispatchedTextureRequestCounts[e.RequestedAssetID] > MAX_ALLOWED_TEXTURE_REQUESTS) 141 if (dispatchedTextureRequestCounts[e.RequestedAssetID] > MAX_ALLOWED_TEXTURE_REQUESTS)
142 { 142 {
143 m_log.WarnFormat( 143 if (MAX_ALLOWED_TEXTURE_REQUESTS + 1 == dispatchedTextureRequestCounts[e.RequestedAssetID])
144 "[USER TEXTURE DOWNLOAD SERVICE]: No longer sending already dispatched texture {0} to {1} since it has made more than {2} requests for it", 144 {
145 e.RequestedAssetID, m_client.AgentId, MAX_ALLOWED_TEXTURE_REQUESTS); 145 m_log.WarnFormat(
146 "[USER TEXTURE DOWNLOAD SERVICE]: No longer sending already dispatched texture {0} to {1} since it has made more than {2} requests for it",
147 e.RequestedAssetID, m_client.AgentId, MAX_ALLOWED_TEXTURE_REQUESTS);
148 }
146 149
147 return; 150 return;
148 } 151 }