Fix Flotsam cache so it will use the disk cache if the memory cache is enabled
parent
c122489e09
commit
74b23210a7
|
@ -419,7 +419,7 @@ namespace Flotsam.RegionModules.AssetCache
|
|||
|
||||
if (m_MemoryCacheEnabled)
|
||||
asset = GetFromMemoryCache(id);
|
||||
else if (m_FileCacheEnabled)
|
||||
if (asset == null && m_FileCacheEnabled)
|
||||
asset = GetFromFileCache(id);
|
||||
|
||||
if (((m_LogLevel >= 1)) && (m_HitRateDisplay != 0) && (m_Requests % m_HitRateDisplay == 0))
|
||||
|
|
Loading…
Reference in New Issue