From 3794f25ebd4dae48c4eabfa3d63a4d4c30a5aa30 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 10 Jun 2008 23:35:04 +0000 Subject: * 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 --- OpenSim/Framework/Communications/Cache/AssetCache.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Framework/Communications') 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 public void Clear() { m_log.Info("[ASSET CACHE]: Clearing Asset cache"); + + if (StatsManager.SimExtraStats != null) + StatsManager.SimExtraStats.ClearAssetCacheStatistics(); + Initialize(); } -- cgit v1.1