OpenSimMirror/bin/config-include/FlotsamCache.ini.example

61 lines
2.1 KiB
Plaintext
Raw Normal View History

2009-06-14 21:37:50 +00:00
[AssetCache]
;;
;; Options for FlotsamAssetCache
;;
2010-10-04 21:10:07 +00:00
2009-06-14 21:37:50 +00:00
; cache directory can be shared by multiple instances
CacheDirectory = ./assetcache
; Other examples:
;CacheDirectory = /directory/writable/by/OpenSim/instance
; Log level
; 0 - (Error) Errors only
; 1 - (Info) Hit Rate Stats + Level 0
; 2 - (Debug) Cache Activity (Reads/Writes) + Level 1
;
LogLevel = 0
; How often should hit rates be displayed (given in AssetRequests)
; 0 to disable
HitRateDisplay = 100
; Set to false for no memory cache
; assets can be requested several times in short periods
2016-12-25 16:48:27 +00:00
; so even a small memory cache is useful
MemoryCacheEnabled = true
2009-06-14 21:37:50 +00:00
; Set to false for no file cache
FileCacheEnabled = true
2009-06-14 21:37:50 +00:00
; How long {in hours} to keep assets cached in memory, .5 == 30 minutes
; even a few minutes may mean many assets loaded to memory, if not all.
; this is good if memory is not a problem.
; if memory is a problem then a few seconds may actually save same.
; see hit rates with console comand: fcache status
2016-12-25 16:48:27 +00:00
MemoryCacheTimeout = .001 ; 3.6s ie around 4s (1s resolution)
2009-06-14 21:37:50 +00:00
; How long {in hours} to keep assets cached on disk, .5 == 30 minutes
; Specify 0 if you do not want your disk cache to expire
FileCacheTimeout = 48
2009-06-14 21:37:50 +00:00
; How often {in hours} should the disk be checked for expired filed
; Specify 0 to disable expiration checking
2016-11-30 07:59:01 +00:00
FileCleanupTimer = 0.0 ; disabled
2010-10-04 21:10:07 +00:00
; If WAIT_ON_INPROGRESS_REQUESTS has been defined then this specifies how
; long (in miliseconds) to block a request thread while trying to complete
2009-06-14 21:37:50 +00:00
; an existing write to disk.
; NOTE: THIS PARAMETER IS NOT CURRENTLY USED BY THE CACHE
2009-06-14 21:37:50 +00:00
; WaitOnInprogressTimeout = 3000
; Number of tiers to use for cache directories (current valid
; range 1 to 3)
;CacheDirectoryTiers = 1
; Number of letters per path tier, 1 will create 16 directories
; per tier, 2 - 256, 3 - 4096 and 4 - 65K
;CacheDirectoryTierLength = 3
; Warning level for cache directory size
;CacheWarnAt = 30000