diff options
author | Justin Clarke Casey | 2008-05-14 22:23:17 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-05-14 22:23:17 +0000 |
commit | 1b90238f28424c2dd820f6b21aea25845d0c0156 (patch) | |
tree | 3ba410394e0b5cb21773b67e1c4101122cf651a7 /OpenSim/Region/Communications/OGS1 | |
parent | * Refactor additional stats collection common code into base opensim server (diff) | |
download | opensim-SC-1b90238f28424c2dd820f6b21aea25845d0c0156.zip opensim-SC-1b90238f28424c2dd820f6b21aea25845d0c0156.tar.gz opensim-SC-1b90238f28424c2dd820f6b21aea25845d0c0156.tar.bz2 opensim-SC-1b90238f28424c2dd820f6b21aea25845d0c0156.tar.xz |
* Start recording initial complete avatar inventory retrieval failures from the region server
* In theory, this should be a somewhat useless statistic since the user server will already have tried to use the inventory service to retrieve the avatar's skeleton. If this
fails, login is halted completely.
* Nonetheless I'm recording it anyway just to see whether it happens (yes, I'm too lazy to scan the logs...)
Diffstat (limited to 'OpenSim/Region/Communications/OGS1')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs index f7037ea..0f75a09 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs | |||
@@ -35,6 +35,7 @@ using OpenSim.Framework; | |||
35 | using OpenSim.Framework.Communications; | 35 | using OpenSim.Framework.Communications; |
36 | using OpenSim.Framework.Communications.Cache; | 36 | using OpenSim.Framework.Communications.Cache; |
37 | using OpenSim.Framework.Servers; | 37 | using OpenSim.Framework.Servers; |
38 | using OpenSim.Framework.Statistics; | ||
38 | 39 | ||
39 | namespace OpenSim.Region.Communications.OGS1 | 40 | namespace OpenSim.Region.Communications.OGS1 |
40 | { | 41 | { |
@@ -79,8 +80,11 @@ namespace OpenSim.Region.Communications.OGS1 | |||
79 | } | 80 | } |
80 | catch (WebException e) | 81 | catch (WebException e) |
81 | { | 82 | { |
83 | if (StatsManager.SimExtraStats != null) | ||
84 | StatsManager.SimExtraStats.AddInventoryServiceRetrievalFailure(); | ||
85 | |||
82 | m_log.ErrorFormat("[OGS1 INVENTORY SERVICE]: Request inventory operation failed, {0} {1}", | 86 | m_log.ErrorFormat("[OGS1 INVENTORY SERVICE]: Request inventory operation failed, {0} {1}", |
83 | e.Source, e.Message); | 87 | e.Source, e.Message); |
84 | } | 88 | } |
85 | } | 89 | } |
86 | else | 90 | else |