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 '')
-rw-r--r-- | bin/config-include/GridCommon.ini.example | 37 |
1 files changed, 26 insertions, 11 deletions
diff --git a/bin/config-include/GridCommon.ini.example b/bin/config-include/GridCommon.ini.example index fb51c1f..3eeec95 100644 --- a/bin/config-include/GridCommon.ini.example +++ b/bin/config-include/GridCommon.ini.example | |||
@@ -1,20 +1,35 @@ | |||
1 | [Modules] | 1 | [Modules] |
2 | ;AssetCaching = "CoreAssetCache" | 2 | ;AssetCaching = "CoreAssetCache" |
3 | AssetCaching = "GlynnTuckerAssetCache" | 3 | ;AssetCaching = "GlynnTuckerAssetCache" |
4 | ;AssetCaching = "CenomeMemoryAssetCache" | 4 | ;AssetCaching = "CenomeMemoryAssetCache" |
5 | AssetCaching = "FlotsamAssetCache" | ||
5 | 6 | ||
6 | [AssetCache] | 7 | [AssetCache] |
7 | ;; Optional configurations for CoreAssetCache | 8 | ;; ---- Optional configurations for FlotsamAssetCache |
8 | ; Number of buckets for assets | 9 | ; |
9 | ;CacheBuckets = 32768 | 10 | ; The cache directory can be shared by multiple instances, |
11 | ; so you may want to change this! Note that you can | ||
12 | ; specify an absolute path (starting with '/'). | ||
13 | ; See examples in comments. | ||
14 | ; Make sure the directory you specify can be created. | ||
15 | ; | ||
16 | CacheDirectory = ./assetcache | ||
17 | ; | ||
18 | ; Some other examples: | ||
19 | ; CacheDirectory = /var/opensim/assetcache ; (Windows and linux) | ||
20 | ; CacheDirectory = ~/assetcache ; (Windows and linux) | ||
21 | ; CacheDirectory = C:\opensim\assetcache ; (Windows only) | ||
22 | |||
23 | ; | ||
24 | ; How long {in hours} to keep assets cached on disk, | ||
25 | ; .5 == 30 minutes; 168 = 7 days | ||
26 | ; Specify 0 if you do not want your disk cache to expire | ||
27 | ; | ||
28 | FileCacheTimeout = 168 | ||
29 | |||
30 | |||
31 | ;; --------- endof FlotsamAssetCache -------- | ||
10 | 32 | ||
11 | ;; Optional configurations for CenomeMemoryAssetCache | ||
12 | ; Cache size 128 MB (default: 134217728) | ||
13 | ; MaxSize = 134217728 | ||
14 | ; Maximal asset count | ||
15 | ; MaxCount = 4096 | ||
16 | ; Asset's expiration time (minutes) | ||
17 | ; ExpirationTime = 30 | ||
18 | 33 | ||
19 | [AssetService] | 34 | [AssetService] |
20 | 35 | ||