diff options
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index 800c997..30f7ddf 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs | |||
@@ -46,8 +46,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
46 | /// This class actually encapsulates two largely separate mechanisms. One mechanism fetches assets either | 46 | /// This class actually encapsulates two largely separate mechanisms. One mechanism fetches assets either |
47 | /// synchronously or async and passes the data back to the requester. The second mechanism fetches assets and | 47 | /// synchronously or async and passes the data back to the requester. The second mechanism fetches assets and |
48 | /// sends packetised data directly back to the client. The only point where they meet is AssetReceived() and | 48 | /// sends packetised data directly back to the client. The only point where they meet is AssetReceived() and |
49 | /// AssetNotFound(), which means they do share the same asset and texture caches.I agr | 49 | /// AssetNotFound(), which means they do share the same asset and texture caches. |
50 | |||
51 | public class AssetCache : IAssetCache | 50 | public class AssetCache : IAssetCache |
52 | { | 51 | { |
53 | 52 | ||
@@ -401,9 +400,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
401 | m_memcache.AddOrUpdate(assetInf.FullID, assetInf, TimeSpan.FromHours(24)); | 400 | m_memcache.AddOrUpdate(assetInf.FullID, assetInf, TimeSpan.FromHours(24)); |
402 | 401 | ||
403 | if (StatsManager.SimExtraStats != null) | 402 | if (StatsManager.SimExtraStats != null) |
404 | { | ||
405 | StatsManager.SimExtraStats.AddAsset(assetInf); | 403 | StatsManager.SimExtraStats.AddAsset(assetInf); |
406 | } | ||
407 | 404 | ||
408 | if (RequestedAssets.ContainsKey(assetInf.FullID)) | 405 | if (RequestedAssets.ContainsKey(assetInf.FullID)) |
409 | { | 406 | { |