diff options
author | Justin Clark-Casey (justincc) | 2011-07-04 21:35:15 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-04 21:35:15 +0100 |
commit | 46f5893d559f87982e510d02a37856951eb1e088 (patch) | |
tree | 5a16d3f569b7ad740db59d6b2a497f0bda8a5573 /OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | |
parent | If a user has the rights to edit a parcel's properties, then also allow them ... (diff) | |
download | opensim-SC_OLD-46f5893d559f87982e510d02a37856951eb1e088.zip opensim-SC_OLD-46f5893d559f87982e510d02a37856951eb1e088.tar.gz opensim-SC_OLD-46f5893d559f87982e510d02a37856951eb1e088.tar.bz2 opensim-SC_OLD-46f5893d559f87982e510d02a37856951eb1e088.tar.xz |
Add basic flotsam asset cache test for retrieved cached asset.
Disabled temporarily since file system caching disrupts subsequent test runs
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs index 48ee277..a8f5c99 100644 --- a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs +++ b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | |||
@@ -259,6 +259,8 @@ namespace Flotsam.RegionModules.AssetCache | |||
259 | // TODO: Spawn this off to some seperate thread to do the actual writing | 259 | // TODO: Spawn this off to some seperate thread to do the actual writing |
260 | if (asset != null) | 260 | if (asset != null) |
261 | { | 261 | { |
262 | m_log.DebugFormat("[FLOTSAM ASSET CACHE]: Caching asset with id {0}", asset.ID); | ||
263 | |||
262 | UpdateMemoryCache(asset.ID, asset); | 264 | UpdateMemoryCache(asset.ID, asset); |
263 | 265 | ||
264 | string filename = GetFileName(asset.ID); | 266 | string filename = GetFileName(asset.ID); |