aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2009-08-27 21:49:32 +0100
committerJustin Clark-Casey (justincc)2009-08-27 21:49:32 +0100
commitd704e62b392763a0aa77543e6fa849c65db262ad (patch)
tree0f7bf75fa66829180813067f11c0dcb707267249 /OpenSim/Region
parentAdd optimization comment suggestions for FlotsamCache MemoryCacheTimeout as s... (diff)
downloadopensim-SC-d704e62b392763a0aa77543e6fa849c65db262ad.zip
opensim-SC-d704e62b392763a0aa77543e6fa849c65db262ad.tar.gz
opensim-SC-d704e62b392763a0aa77543e6fa849c65db262ad.tar.bz2
opensim-SC-d704e62b392763a0aa77543e6fa849c65db262ad.tar.xz
Remove OpenSim.ini comments from the top of FlotsamAssetCache.cs to avoid duplication and divergence with config-include/FlotsamCache.ini.example
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs51
1 files changed, 0 insertions, 51 deletions
diff --git a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
index 4b582c2..c91b63e 100644
--- a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
+++ b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs
@@ -53,57 +53,6 @@ using OpenSim.Services.Interfaces;
53 53
54namespace Flotsam.RegionModules.AssetCache 54namespace Flotsam.RegionModules.AssetCache
55{ 55{
56 /// <summary>
57 /// OpenSim.ini Options:
58 /// -------
59 /// [Modules]
60 /// AssetCaching = "FlotsamAssetCache"
61 ///
62 /// [AssetCache]
63 /// ; cache directory can be shared by multiple instances
64 /// CacheDirectory = /directory/writable/by/OpenSim/instance
65 ///
66 /// ; Log level
67 /// ; 0 - (Error) Errors only
68 /// ; 1 - (Info) Hit Rate Stats + Level 0
69 /// ; 2 - (Debug) Cache Activity (Reads/Writes) + Level 1
70 /// ;
71 /// LogLevel = 1
72 ///
73 /// ; How often should hit rates be displayed (given in AssetRequests)
74 /// ; 0 to disable
75 /// HitRateDisplay = 100
76 ///
77 /// ; Set to false for disk cache only.
78 /// MemoryCacheEnabled = true
79 ///
80 /// ; How long {in hours} to keep assets cached in memory, .5 == 30 minutes
81 /// MemoryCacheTimeout = 2
82 ///
83 /// ; How long {in hours} to keep assets cached on disk, .5 == 30 minutes
84 /// ; Specify 0 if you do not want your disk cache to expire
85 /// FileCacheTimeout = 0
86 ///
87 /// ; How often {in hours} should the disk be checked for expired filed
88 /// ; Specify 0 to disable expiration checking
89 /// FileCleanupTimer = .166 ;roughly every 10 minutes
90 ///
91 /// ; If WAIT_ON_INPROGRESS_REQUESTS has been defined then this specifies how
92 /// ; long (in miliseconds) to block a request thread while trying to complete
93 /// ; writing to disk.
94 /// WaitOnInprogressTimeout = 3000
95 ///
96 /// ; Number of tiers to use for cache directories (current valid range 1 to 3)
97 /// CacheDirectoryTiers = 1
98 ///
99 /// ; Number of letters per path tier, 1 will create 16 directories per tier, 2 - 256, 3 - 4096 and 4 - 65K
100 /// CacheDirectoryTierLength = 3
101 ///
102 /// ; Warning level for cache directory size
103 /// CacheWarnAt = 30000
104 /// -------
105 /// </summary>
106
107 [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")] 56 [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")]
108 public class FlotsamAssetCache : ISharedRegionModule, IImprovedAssetCache 57 public class FlotsamAssetCache : ISharedRegionModule, IImprovedAssetCache
109 { 58 {