aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/config-include
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-07-04 22:51:47 +0100
committerJustin Clark-Casey (justincc)2011-07-04 22:51:47 +0100
commitbebc51a6e041d2bcd8fef110ea5b178ac614c59d (patch)
tree24607e305f4208dac6caaa0e738817298fd223d6 /bin/config-include
parentrefactor: Split file cache manipulation code into separate methods, as has al... (diff)
downloadopensim-SC-bebc51a6e041d2bcd8fef110ea5b178ac614c59d.zip
opensim-SC-bebc51a6e041d2bcd8fef110ea5b178ac614c59d.tar.gz
opensim-SC-bebc51a6e041d2bcd8fef110ea5b178ac614c59d.tar.bz2
opensim-SC-bebc51a6e041d2bcd8fef110ea5b178ac614c59d.tar.xz
Make it possible to disable the file part of the flotsam asset cache
This matches the ability to disable the memory part This is controlled through the FileCacheEnabled parameter in FlotsamCache.ini Default is true, so existing installations are not affected. Improved fcache command feedback when various caches are disabled. Re-enabled test for flotsam cache with file caching disabled.
Diffstat (limited to 'bin/config-include')
-rw-r--r--bin/config-include/FlotsamCache.ini.example5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/config-include/FlotsamCache.ini.example b/bin/config-include/FlotsamCache.ini.example
index ad38ad1..cd39f8c 100644
--- a/bin/config-include/FlotsamCache.ini.example
+++ b/bin/config-include/FlotsamCache.ini.example
@@ -19,9 +19,12 @@
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 no memory cache
23 MemoryCacheEnabled = false 23 MemoryCacheEnabled = false
24 24
25 ; Set to false for no file cache
26 FileCacheEnabled = true
27
25 ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes 28 ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes
26 ; Optimization: for VPS or limited memory system installs set Timeout to .016 (1 minute) 29 ; Optimization: for VPS or limited memory system installs set Timeout to .016 (1 minute)
27 ; increases performance without large memory impact 30 ; increases performance without large memory impact