clockwerk-opensim-config – Blame information for rev 9
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
9 | vero | 1 | [AssetCache] |
2 | ;; |
||
3 | ;; Options for FlotsamAssetCache |
||
4 | ;; |
||
5 | |||
6 | ; cache directory can be shared by multiple instances |
||
7 | CacheDirectory = ./assetcache |
||
8 | ; Other examples: |
||
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 |
||
15 | ; |
||
16 | LogLevel = 0 |
||
17 | |||
18 | ; How often should hit rates be displayed (given in AssetRequests) |
||
19 | ; 0 to disable |
||
20 | HitRateDisplay = 100 |
||
21 | |||
22 | ; Set to false for no memory cache |
||
23 | MemoryCacheEnabled = false |
||
24 | |||
25 | ; Set to false for no file cache |
||
26 | FileCacheEnabled = true |
||
27 | |||
28 | ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes |
||
29 | ; Optimization: for VPS or limited memory system installs set Timeout to .016 (1 minute) |
||
30 | ; increases performance without large memory impact |
||
31 | MemoryCacheTimeout = 2 |
||
32 | |||
33 | ; How long {in hours} to keep assets cached on disk, .5 == 30 minutes |
||
34 | ; Specify 0 if you do not want your disk cache to expire |
||
35 | FileCacheTimeout = 48 |
||
36 | |||
37 | ; How often {in hours} should the disk be checked for expired filed |
||
38 | ; Specify 0 to disable expiration checking |
||
39 | FileCleanupTimer = 1.0 ;every hour |
||
40 | |||
41 | ; If WAIT_ON_INPROGRESS_REQUESTS has been defined then this specifies how |
||
42 | ; long (in miliseconds) to block a request thread while trying to complete |
||
43 | ; an existing write to disk. |
||
44 | ; NOTE: THIS PARAMETER IS NOT CURRENTLY USED BY THE CACHE |
||
45 | ; WaitOnInprogressTimeout = 3000 |
||
46 | |||
47 | ; Number of tiers to use for cache directories (current valid |
||
48 | ; range 1 to 3) |
||
49 | ;CacheDirectoryTiers = 1 |
||
50 | |||
51 | ; Number of letters per path tier, 1 will create 16 directories |
||
52 | ; per tier, 2 - 256, 3 - 4096 and 4 - 65K |
||
53 | ;CacheDirectoryTierLength = 3 |
||
54 | |||
55 | ; Warning level for cache directory size |
||
56 | ;CacheWarnAt = 30000 |