diff options
author | Dahlia Trimble | 2009-06-02 22:42:47 +0000 |
---|---|---|
committer | Dahlia Trimble | 2009-06-02 22:42:47 +0000 |
commit | b38be1a7fdf71a7d3c6d6f761590827b1f45483c (patch) | |
tree | 2be409eb714dfd93d78e50d8b0def07b8e9758e1 /bin/config-include | |
parent | Thank you kindly, MattSetzer, for a patch that solves a Mantis: (diff) | |
download | opensim-SC-b38be1a7fdf71a7d3c6d6f761590827b1f45483c.zip opensim-SC-b38be1a7fdf71a7d3c6d6f761590827b1f45483c.tar.gz opensim-SC-b38be1a7fdf71a7d3c6d6f761590827b1f45483c.tar.bz2 opensim-SC-b38be1a7fdf71a7d3c6d6f761590827b1f45483c.tar.xz |
Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759)
See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method.
Diffstat (limited to 'bin/config-include')
-rw-r--r-- | bin/config-include/GridCommon.ini.example | 9 | ||||
-rw-r--r-- | bin/config-include/StandaloneCommon.ini.example | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/bin/config-include/GridCommon.ini.example b/bin/config-include/GridCommon.ini.example index 8a95776..d0f63c8 100644 --- a/bin/config-include/GridCommon.ini.example +++ b/bin/config-include/GridCommon.ini.example | |||
@@ -1,6 +1,7 @@ | |||
1 | [Modules] | 1 | [Modules] |
2 | ;AssetCaching = "CoreAssetCache" | 2 | ;AssetCaching = "CoreAssetCache" |
3 | AssetCaching = "GlynnTuckerAssetCache" | 3 | AssetCaching = "GlynnTuckerAssetCache" |
4 | ;AssetCaching = "CenomeMemoryAssetCache" | ||
4 | 5 | ||
5 | [AssetCache] | 6 | [AssetCache] |
6 | ; Number of buckets for assets | 7 | ; Number of buckets for assets |
@@ -16,3 +17,11 @@ | |||
16 | ; | 17 | ; |
17 | AssetServerURI = "http://myassetserver.com:8003" | 18 | AssetServerURI = "http://myassetserver.com:8003" |
18 | 19 | ||
20 | |||
21 | ; Optional configurations for CenomeMemoryAssetCache | ||
22 | ; Cache size 128 MB (default: 134217728) | ||
23 | ; MaxSize = 134217728 | ||
24 | ; Maximal asset count | ||
25 | ; MaxCount = 4096 | ||
26 | ; Asset's expiration time (minutes) | ||
27 | ; ExpirationTime = 30 | ||
diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example index d607092..d772256 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example | |||
@@ -1,6 +1,7 @@ | |||
1 | [Modules] | 1 | [Modules] |
2 | ;AssetCaching = "CoreAssetCache" | 2 | ;AssetCaching = "CoreAssetCache" |
3 | AssetCaching = "GlynnTuckerAssetCache" | 3 | AssetCaching = "GlynnTuckerAssetCache" |
4 | ;AssetCaching = "CenomeMemoryAssetCache" | ||
4 | 5 | ||
5 | [AssetCache] | 6 | [AssetCache] |
6 | ; Number of buckets for assets | 7 | ; Number of buckets for assets |
@@ -20,3 +21,10 @@ | |||
20 | AssetLoaderArgs = "assets/AssetSets.xml" | 21 | AssetLoaderArgs = "assets/AssetSets.xml" |
21 | 22 | ||
22 | 23 | ||
24 | ; Optional configurations for CenomeMemoryAssetCache | ||
25 | ; Cache size 128 MB (default: 134217728) | ||
26 | ; MaxSize = 134217728 | ||
27 | ; Maximal asset count | ||
28 | ; MaxCount = 4096 | ||
29 | ; Asset's expiration time (minutes) | ||
30 | ; ExpirationTime = 30 \ No newline at end of file | ||