mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Fix Flotsam cache so it will use the disk cache if the memory cache is enabled
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
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))
|
||||
@@ -938,4 +938,4 @@ namespace Flotsam.RegionModules.AssetCache
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user