diff options
author | onefang | 2019-05-19 23:10:15 +1000 |
---|---|---|
committer | onefang | 2019-05-19 23:10:15 +1000 |
commit | 64dfe62fab804be64cc29cc0c821e7abac1d946d (patch) | |
tree | 3874e927329d88a62e27dde2cc210c968b86c2e2 /config/config-include/FlotsamCache.ini | |
parent | New TODO. (diff) | |
download | opensim-SC_OLD-64dfe62fab804be64cc29cc0c821e7abac1d946d.zip opensim-SC_OLD-64dfe62fab804be64cc29cc0c821e7abac1d946d.tar.gz opensim-SC_OLD-64dfe62fab804be64cc29cc0c821e7abac1d946d.tar.bz2 opensim-SC_OLD-64dfe62fab804be64cc29cc0c821e7abac1d946d.tar.xz |
Make examples directory, and shuffle all the out of tree stuff into it.
Diffstat (limited to '')
-rw-r--r-- | config/config-include/FlotsamCache.ini | 56 | ||||
-rw-r--r-- | config/config-include/FlotsamCache.ini.example | 56 |
2 files changed, 0 insertions, 112 deletions
diff --git a/config/config-include/FlotsamCache.ini b/config/config-include/FlotsamCache.ini deleted file mode 100644 index 507521f..0000000 --- a/config/config-include/FlotsamCache.ini +++ /dev/null | |||
@@ -1,56 +0,0 @@ | |||
1 | [AssetCache] | ||
2 | ;; | ||
3 | ;; Options for FlotsamAssetCache | ||
4 | ;; | ||
5 | |||
6 | ; cache directory can be shared by multiple instances | ||
7 | CacheDirectory = "${Const|CachePath}/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 = 0 | ||
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 = 0.5 | ||
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 = 0.5 | ||
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 | ||
diff --git a/config/config-include/FlotsamCache.ini.example b/config/config-include/FlotsamCache.ini.example deleted file mode 100644 index c166523..0000000 --- a/config/config-include/FlotsamCache.ini.example +++ /dev/null | |||
@@ -1,56 +0,0 @@ | |||
1 | [AssetCache] | ||
2 | ;; | ||
3 | ;; Options for FlotsamAssetCache | ||
4 | ;; | ||
5 | |||
6 | ; cache directory can be shared by multiple instances | ||
7 | CacheDirectory = ../caches/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 | ||