diff options
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.
Diffstat (limited to 'bin/config-include/StableSettings.ini')
-rw-r--r-- | bin/config-include/StableSettings.ini | 28 |
1 files changed, 28 insertions, 0 deletions
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 @@ | |||
1 | [AssetCache] | ||
2 | ;; ---- Optional configurations for CoreAssetCache | ||
3 | ; Number of buckets for assets | ||
4 | ;CacheBuckets = 32768 | ||
5 | ;; ---- endof CoreAssetCache ---------------- | ||
6 | |||
7 | ;; ---- Optional configurations for CenomeMemoryAssetCache | ||
8 | ; Cache size 128 MB (default: 134217728) | ||
9 | ; MaxSize = 134217728 | ||
10 | ; Maximal asset count | ||
11 | ; MaxCount = 4096 | ||
12 | ; Asset's expiration time (minutes) | ||
13 | ; ExpirationTime = 30 | ||
14 | ;; ---- endof CenomeMemoryAssetCache -------- | ||
15 | |||
16 | ;; ---- Optional configurations for FlotsamAssetCache | ||
17 | |||
18 | ; Set to false for disk cache only. | ||
19 | MemoryCacheEnabled = true | ||
20 | |||
21 | ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes | ||
22 | MemoryCacheTimeout = 2 | ||
23 | |||
24 | ; How often {in hours} should the disk be checked for expired filed | ||
25 | ; Specify 0 to disable expiration checking | ||
26 | FileCleanupTimer = .166 ;roughly every 10 minutes | ||
27 | |||
28 | ;; ---- endof FlotsamAssetCache -------- | ||