aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Agent
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-14 23:09:17 +0000
committerJustin Clarke Casey2008-05-14 23:09:17 +0000
commite246d6e51588d75230800f4c36ee98867e25df56 (patch)
treef00455eaffdba1ed84287b6b49a3314cdb3053df /OpenSim/Region/Environment/Modules/Agent
parent* Minor: Fussy little wording change on inventory service failure (diff)
downloadopensim-SC_OLD-e246d6e51588d75230800f4c36ee98867e25df56.zip
opensim-SC_OLD-e246d6e51588d75230800f4c36ee98867e25df56.tar.gz
opensim-SC_OLD-e246d6e51588d75230800f4c36ee98867e25df56.tar.bz2
opensim-SC_OLD-e246d6e51588d75230800f4c36ee98867e25df56.tar.xz
* Start recording as a statistic the number of times we start blocking repetitive client requests for the same missing texture
* This is to maintain some visibility on the problem, since I removed the intentionally irritating log messages for this
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Agent')
-rw-r--r--OpenSim/Region/Environment/Modules/Agent/TextureDownload/UserTextureDownloadService.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/Agent/TextureDownload/UserTextureDownloadService.cs b/OpenSim/Region/Environment/Modules/Agent/TextureDownload/UserTextureDownloadService.cs
index 12ee278..d4fa39f 100644
--- a/OpenSim/Region/Environment/Modules/Agent/TextureDownload/UserTextureDownloadService.cs
+++ b/OpenSim/Region/Environment/Modules/Agent/TextureDownload/UserTextureDownloadService.cs
@@ -31,6 +31,7 @@ using libsecondlife;
31using log4net; 31using log4net;
32using OpenSim.Framework; 32using OpenSim.Framework;
33using OpenSim.Framework.Communications.Limit; 33using OpenSim.Framework.Communications.Limit;
34using OpenSim.Framework.Statistics;
34using OpenSim.Region.Environment.Interfaces; 35using OpenSim.Region.Environment.Interfaces;
35using OpenSim.Region.Environment.Scenes; 36using OpenSim.Region.Environment.Scenes;
36 37
@@ -125,10 +126,11 @@ namespace OpenSim.Region.Environment.Modules.Agent.TextureDownload
125 { 126 {
126 if (missingTextureLimitStrategy.IsFirstRefusal(e.RequestedAssetID)) 127 if (missingTextureLimitStrategy.IsFirstRefusal(e.RequestedAssetID))
127 { 128 {
129 if (StatsManager.SimExtraStats != null)
130 StatsManager.SimExtraStats.AddBlockedMissingTextureRequest();
131
128 // Commenting out this message for now as it causes too much noise with other 132 // Commenting out this message for now as it causes too much noise with other
129 // debug messages. 133 // debug messages.
130 // TODO: possibly record this as a statistic in the future
131 //
132// m_log.DebugFormat( 134// m_log.DebugFormat(
133// "[USER TEXTURE DOWNLOAD SERVICE]: Dropping requests for notified missing texture {0} for client {1} since we have received more than {2} requests", 135// "[USER TEXTURE DOWNLOAD SERVICE]: Dropping requests for notified missing texture {0} for client {1} since we have received more than {2} requests",
134// e.RequestedAssetID, m_client.AgentId, MAX_ALLOWED_TEXTURE_REQUESTS); 136// e.RequestedAssetID, m_client.AgentId, MAX_ALLOWED_TEXTURE_REQUESTS);