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/GridCommon.ini.example | 37 ++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 11 deletions(-) (limited to 'bin/config-include/GridCommon.ini.example') 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 @@ [Modules] ;AssetCaching = "CoreAssetCache" - AssetCaching = "GlynnTuckerAssetCache" + ;AssetCaching = "GlynnTuckerAssetCache" ;AssetCaching = "CenomeMemoryAssetCache" + AssetCaching = "FlotsamAssetCache" [AssetCache] - ;; Optional configurations for CoreAssetCache - ; Number of buckets for assets - ;CacheBuckets = 32768 + ;; ---- Optional configurations for FlotsamAssetCache + ; + ; The cache directory can be shared by multiple instances, + ; so you may want to change this! Note that you can + ; specify an absolute path (starting with '/'). + ; See examples in comments. + ; Make sure the directory you specify can be created. + ; + CacheDirectory = ./assetcache + ; + ; Some other examples: + ; CacheDirectory = /var/opensim/assetcache ; (Windows and linux) + ; CacheDirectory = ~/assetcache ; (Windows and linux) + ; CacheDirectory = C:\opensim\assetcache ; (Windows only) + + ; + ; How long {in hours} to keep assets cached on disk, + ; .5 == 30 minutes; 168 = 7 days + ; Specify 0 if you do not want your disk cache to expire + ; + FileCacheTimeout = 168 + + + ;; --------- endof FlotsamAssetCache -------- - ;; Optional configurations for CenomeMemoryAssetCache - ; Cache size 128 MB (default: 134217728) - ; MaxSize = 134217728 - ; Maximal asset count - ; MaxCount = 4096 - ; Asset's expiration time (minutes) - ; ExpirationTime = 30 [AssetService] -- cgit v1.1