From db9d3d3a90939b8b5d803271ca9e8040f49ea64e Mon Sep 17 00:00:00 2001 From: diva Date: Sat, 6 Jun 2009 17:06:47 +0000 Subject: Added Flotsam's cache config vars to configuration. Made it the default in grided sims. Made Cenome cache the default in standalone sims. More splitting in ini files, invisible to the user. --- bin/config-include/StableSettings.ini | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 bin/config-include/StableSettings.ini (limited to 'bin/config-include/StableSettings.ini') diff --git a/bin/config-include/StableSettings.ini b/bin/config-include/StableSettings.ini new file mode 100644 index 0000000..5e3cbbc --- /dev/null +++ b/bin/config-include/StableSettings.ini @@ -0,0 +1,28 @@ +[AssetCache] + ;; ---- Optional configurations for CoreAssetCache + ; Number of buckets for assets + ;CacheBuckets = 32768 + ;; ---- endof CoreAssetCache ---------------- + + ;; ---- Optional configurations for CenomeMemoryAssetCache + ; Cache size 128 MB (default: 134217728) + ; MaxSize = 134217728 + ; Maximal asset count + ; MaxCount = 4096 + ; Asset's expiration time (minutes) + ; ExpirationTime = 30 + ;; ---- endof CenomeMemoryAssetCache -------- + + ;; ---- Optional configurations for FlotsamAssetCache + + ; Set to false for disk cache only. + MemoryCacheEnabled = true + + ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes + MemoryCacheTimeout = 2 + + ; How often {in hours} should the disk be checked for expired filed + ; Specify 0 to disable expiration checking + FileCleanupTimer = .166 ;roughly every 10 minutes + + ;; ---- endof FlotsamAssetCache -------- -- cgit v1.1