aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/config-include
diff options
context:
space:
mode:
Diffstat (limited to 'bin/config-include')
-rw-r--r--bin/config-include/CenomeCache.ini.example26
-rw-r--r--bin/config-include/FlotsamCache.ini.example78
2 files changed, 52 insertions, 52 deletions
diff --git a/bin/config-include/CenomeCache.ini.example b/bin/config-include/CenomeCache.ini.example
index 993fe64..c7c901b 100644
--- a/bin/config-include/CenomeCache.ini.example
+++ b/bin/config-include/CenomeCache.ini.example
@@ -1,13 +1,13 @@
1[AssetCache] 1[AssetCache]
2 ;; 2 ;;
3 ;; Options for CenmoeAssetCache 3 ;; Options for CenmoeAssetCache
4 ;; 4 ;;
5 5
6 ; 256 MB (default: 134217728) 6 ; 256 MB (default: 134217728)
7 MaxSize = 268435456 7 MaxSize = 268435456
8 8
9 ; How many assets it is possible to store cache (default: 4096) 9 ; How many assets it is possible to store cache (default: 4096)
10 MaxCount = 16384 10 MaxCount = 16384
11 11
12 ; Expiration time - 1 hour (default: 30 minutes) 12 ; Expiration time - 1 hour (default: 30 minutes)
13 ExpirationTime = 60 13 ExpirationTime = 60
diff --git a/bin/config-include/FlotsamCache.ini.example b/bin/config-include/FlotsamCache.ini.example
index 8a49e3e..e49b804 100644
--- a/bin/config-include/FlotsamCache.ini.example
+++ b/bin/config-include/FlotsamCache.ini.example
@@ -1,39 +1,39 @@
1[AssetCache] 1[AssetCache]
2 ;; 2 ;;
3 ;; Options for FlotsamAssetCache 3 ;; Options for FlotsamAssetCache
4 ;; 4 ;;
5 5
6 ; cache directory can be shared by multiple instances 6 ; cache directory can be shared by multiple instances
7 CacheDirectory = ./assetcache 7 CacheDirectory = ./assetcache
8 ; Other examples: 8 ; Other examples:
9 ;CacheDirectory = /directory/writable/by/OpenSim/instance 9 ;CacheDirectory = /directory/writable/by/OpenSim/instance
10 10
11 ; Log level 11 ; Log level
12 ; 0 - (Error) Errors only 12 ; 0 - (Error) Errors only
13 ; 1 - (Info) Hit Rate Stats + Level 0 13 ; 1 - (Info) Hit Rate Stats + Level 0
14 ; 2 - (Debug) Cache Activity (Reads/Writes) + Level 1 14 ; 2 - (Debug) Cache Activity (Reads/Writes) + Level 1
15 ; 15 ;
16 LogLevel = 0 16 LogLevel = 0
17 17
18 ; How often should hit rates be displayed (given in AssetRequests) 18 ; How often should hit rates be displayed (given in AssetRequests)
19 ; 0 to disable 19 ; 0 to disable
20 HitRateDisplay = 100 20 HitRateDisplay = 100
21 21
22 ; Set to false for disk cache only. 22 ; Set to false for disk cache only.
23 MemoryCacheEnabled = false 23 MemoryCacheEnabled = false
24 24
25 ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes 25 ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes
26 MemoryCacheTimeout = 2 26 MemoryCacheTimeout = 2
27 27
28 ; How long {in hours} to keep assets cached on disk, .5 == 30 minutes 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 29 ; Specify 0 if you do not want your disk cache to expire
30 FileCacheTimeout = 0 30 FileCacheTimeout = 0
31 31
32 ; How often {in hours} should the disk be checked for expired filed 32 ; How often {in hours} should the disk be checked for expired filed
33 ; Specify 0 to disable expiration checking 33 ; Specify 0 to disable expiration checking
34 FileCleanupTimer = .166 ;roughly every 10 minutes 34 FileCleanupTimer = .166 ;roughly every 10 minutes
35 35
36 ; If WAIT_ON_INPROGRESS_REQUESTS has been defined then this specifies how 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 37 ; long (in miliseconds) to block a request thread while trying to complete
38 ; an existing write to disk. 38 ; an existing write to disk.
39 ; WaitOnInprogressTimeout = 3000 39 ; WaitOnInprogressTimeout = 3000