diff options
author | Justin Clarke Casey | 2008-06-10 23:35:04 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-06-10 23:35:04 +0000 |
commit | 3794f25ebd4dae48c4eabfa3d63a4d4c30a5aa30 (patch) | |
tree | 00f6d3cbf598e18d5bdef6bec01992d5f458e39a /OpenSim/Framework/Communications | |
parent | * If a server has statistics, print these out to the log every hour to get so... (diff) | |
download | opensim-SC-3794f25ebd4dae48c4eabfa3d63a4d4c30a5aa30.zip opensim-SC-3794f25ebd4dae48c4eabfa3d63a4d4c30a5aa30.tar.gz opensim-SC-3794f25ebd4dae48c4eabfa3d63a4d4c30a5aa30.tar.bz2 opensim-SC-3794f25ebd4dae48c4eabfa3d63a4d4c30a5aa30.tar.xz |
* minor: Properly clear the pushed asset cache statistics where the clear-assets command is used on the region console
* stop waiting for garbage collection when GC total memory used is requested, in case the periodic request of this lags the sim
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index dcb7d73..dd9015b 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs | |||
@@ -143,6 +143,10 @@ namespace OpenSim.Framework.Communications.Cache | |||
143 | public void Clear() | 143 | public void Clear() |
144 | { | 144 | { |
145 | m_log.Info("[ASSET CACHE]: Clearing Asset cache"); | 145 | m_log.Info("[ASSET CACHE]: Clearing Asset cache"); |
146 | |||
147 | if (StatsManager.SimExtraStats != null) | ||
148 | StatsManager.SimExtraStats.ClearAssetCacheStatistics(); | ||
149 | |||
146 | Initialize(); | 150 | Initialize(); |
147 | } | 151 | } |
148 | 152 | ||