aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
diff options
context:
space:
mode:
authorJeff Ames2009-06-10 04:28:56 +0000
committerJeff Ames2009-06-10 04:28:56 +0000
commita23d64dec1cbf88abc3c7e84664a683dee534e4a (patch)
tree7e85403f29839775209481ba7f6ee55aac56f209 /OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
parentLetting the Flotsam cache be enabled even when [AssetCache] section is missin... (diff)
downloadopensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.zip
opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.gz
opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.bz2
opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.xz
Formatting cleanup.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
index d09f5ef..35713ad 100644
--- a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
+++ b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
@@ -231,7 +231,7 @@ namespace Flotsam.RegionModules.AssetCache
231 231
232 private void UpdateMemoryCache(string key, AssetBase asset) 232 private void UpdateMemoryCache(string key, AssetBase asset)
233 { 233 {
234 if( m_MemoryCacheEnabled ) 234 if (m_MemoryCacheEnabled)
235 { 235 {
236 if (m_MemoryExpiration > TimeSpan.Zero) 236 if (m_MemoryExpiration > TimeSpan.Zero)
237 { 237 {
@@ -405,7 +405,7 @@ namespace Flotsam.RegionModules.AssetCache
405 File.Delete(filename); 405 File.Delete(filename);
406 } 406 }
407 407
408 if( m_MemoryCacheEnabled ) 408 if (m_MemoryCacheEnabled)
409 m_MemoryCache.Remove(id); 409 m_MemoryCache.Remove(id);
410 } 410 }
411 catch (Exception e) 411 catch (Exception e)
@@ -424,7 +424,7 @@ namespace Flotsam.RegionModules.AssetCache
424 Directory.Delete(dir); 424 Directory.Delete(dir);
425 } 425 }
426 426
427 if( m_MemoryCacheEnabled ) 427 if (m_MemoryCacheEnabled)
428 m_MemoryCache.Clear(); 428 m_MemoryCache.Clear();
429 } 429 }
430 430