diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs index 84fe506..da39202 100644 --- a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs +++ b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | |||
@@ -419,7 +419,7 @@ namespace Flotsam.RegionModules.AssetCache | |||
419 | 419 | ||
420 | if (m_MemoryCacheEnabled) | 420 | if (m_MemoryCacheEnabled) |
421 | asset = GetFromMemoryCache(id); | 421 | asset = GetFromMemoryCache(id); |
422 | else if (m_FileCacheEnabled) | 422 | if (asset == null && m_FileCacheEnabled) |
423 | asset = GetFromFileCache(id); | 423 | asset = GetFromFileCache(id); |
424 | 424 | ||
425 | if (((m_LogLevel >= 1)) && (m_HitRateDisplay != 0) && (m_Requests % m_HitRateDisplay == 0)) | 425 | if (((m_LogLevel >= 1)) && (m_HitRateDisplay != 0) && (m_Requests % m_HitRateDisplay == 0)) |
@@ -938,4 +938,4 @@ namespace Flotsam.RegionModules.AssetCache | |||
938 | 938 | ||
939 | #endregion | 939 | #endregion |
940 | } | 940 | } |
941 | } \ No newline at end of file | 941 | } |