From 99f3382c9c42140b27b8d58be0bbc2a7c11db812 Mon Sep 17 00:00:00 2001 From: diva Date: Thu, 4 Jun 2009 18:36:02 +0000 Subject: [PATCH] Fixed placement of optional configs for CenomeAssetCache. Thank you ImazeR. --- bin/config-include/GridCommon.ini.example | 16 +++++++++------- bin/config-include/StandaloneCommon.ini.example | 17 +++++++++-------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/bin/config-include/GridCommon.ini.example b/bin/config-include/GridCommon.ini.example index 38253744e7..fb51c1f5d0 100644 --- a/bin/config-include/GridCommon.ini.example +++ b/bin/config-include/GridCommon.ini.example @@ -4,9 +4,18 @@ ;AssetCaching = "CenomeMemoryAssetCache" [AssetCache] + ;; Optional configurations for CoreAssetCache ; Number of buckets for assets ;CacheBuckets = 32768 + ;; Optional configurations for CenomeMemoryAssetCache + ; Cache size 128 MB (default: 134217728) + ; MaxSize = 134217728 + ; Maximal asset count + ; MaxCount = 4096 + ; Asset's expiration time (minutes) + ; ExpirationTime = 30 + [AssetService] DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" @@ -17,10 +26,3 @@ ; AssetServerURI = "http://myassetserver.com:8003" - ; Optional configurations for CenomeMemoryAssetCache - ; Cache size 128 MB (default: 134217728) - ; MaxSize = 134217728 - ; Maximal asset count - ; MaxCount = 4096 - ; Asset's expiration time (minutes) - ; ExpirationTime = 30 \ No newline at end of file diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example index d772256b7b..d03c003e99 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example @@ -4,9 +4,18 @@ ;AssetCaching = "CenomeMemoryAssetCache" [AssetCache] + ;; Optional configurations for CoreAssetCache ; Number of buckets for assets ;CacheBuckets = 16384 + ;; Optional configurations for CenomeMemoryAssetCache + ; Cache size 128 MB (default: 134217728) + ; MaxSize = 134217728 + ; Maximal asset count + ; MaxCount = 4096 + ; Asset's expiration time (minutes) + ; ExpirationTime = 30 + [AssetService] ; ;### Choose the DB @@ -20,11 +29,3 @@ DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" AssetLoaderArgs = "assets/AssetSets.xml" - - ; Optional configurations for CenomeMemoryAssetCache - ; Cache size 128 MB (default: 134217728) - ; MaxSize = 134217728 - ; Maximal asset count - ; MaxCount = 4096 - ; Asset's expiration time (minutes) - ; ExpirationTime = 30 \ No newline at end of file