aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin
diff options
context:
space:
mode:
authorMelanie Thielker2009-06-08 20:09:49 +0000
committerMelanie Thielker2009-06-08 20:09:49 +0000
commit0356fef9abdabdc14b46188bad2074ef9963b32c (patch)
tree432780eb39b7bece9123a80a5dbc1215b8d5e682 /bin
parentBug fix. Adding the asset to the cache after a DB get. (diff)
downloadopensim-SC_OLD-0356fef9abdabdc14b46188bad2074ef9963b32c.zip
opensim-SC_OLD-0356fef9abdabdc14b46188bad2074ef9963b32c.tar.gz
opensim-SC_OLD-0356fef9abdabdc14b46188bad2074ef9963b32c.tar.bz2
opensim-SC_OLD-0356fef9abdabdc14b46188bad2074ef9963b32c.tar.xz
Updating the flotsam asset cache. Thank you, mcortez!
Fixes Mantis #3784
Diffstat (limited to 'bin')
-rw-r--r--bin/config-include/GridCommon.ini.example53
1 files changed, 30 insertions, 23 deletions
diff --git a/bin/config-include/GridCommon.ini.example b/bin/config-include/GridCommon.ini.example
index 3eeec95..efbde56 100644
--- a/bin/config-include/GridCommon.ini.example
+++ b/bin/config-include/GridCommon.ini.example
@@ -3,33 +3,40 @@
3 ;AssetCaching = "GlynnTuckerAssetCache" 3 ;AssetCaching = "GlynnTuckerAssetCache"
4 ;AssetCaching = "CenomeMemoryAssetCache" 4 ;AssetCaching = "CenomeMemoryAssetCache"
5 AssetCaching = "FlotsamAssetCache" 5 AssetCaching = "FlotsamAssetCache"
6
7[AssetCache]
8 ;; ---- Optional configurations for FlotsamAssetCache
9 ;
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 6
7[AssetCache]
8 ; cache directory can be shared by multiple instances
9 CacheDirectory = /directory/writable/by/OpenSim/instance
10
11 ; Log level
12 ; 0 - (Error) Errors only
13 ; 1 - (Info) Hit Rate Stats + Level 0
14 ; 2 - (Debug) Cache Activity (Reads/Writes) + Level 1
23 ; 15 ;
24 ; How long {in hours} to keep assets cached on disk, 16 LogLevel = 0
25 ; .5 == 30 minutes; 168 = 7 days 17
26 ; Specify 0 if you do not want your disk cache to expire 18 ; How often should hit rates be displayed (given in AssetRequests)
27 ; 19 ; 0 to disable
28 FileCacheTimeout = 168 20 HitRateDisplay = 100
29 21
22 ; Set to false for disk cache only.
23 MemoryCacheEnabled = true
30 24
31 ;; --------- endof FlotsamAssetCache -------- 25 ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes
26 MemoryCacheTimeout = 2
32 27
28 ; How long {in hours} to keep assets cached on disk, .5 == 30 minutes
29 ; Specify 0 if you do not want your disk cache to expire
30 FileCacheTimeout = 0
31
32 ; How often {in hours} should the disk be checked for expired filed
33 ; Specify 0 to disable expiration checking
34 FileCleanupTimer = .166 ;roughly every 10 minutes
35
36 ; If WAIT_ON_INPROGRESS_REQUESTS has been defined then this specifies how
37 ; long (in miliseconds) to block a request thread while trying to complete
38 ; an existing write to disk.
39 ; WaitOnInprogressTimeout = 3000
33 40
34[AssetService] 41[AssetService]
35 42