Commit 688f045e authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added missing caches info.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9437 b35dd754-fafc-0310-a699-88a17e54d16e
parent 6f7430b6
......@@ -80,6 +80,8 @@ public class DefaultLocalCacheStrategy implements CacheFactoryStrategy {
cacheNames.put("Disco Server Items", "serverItems");
cacheNames.put("Remote Server Configurations", "serversConfigurations");
cacheNames.put("Entity Capabilities", "entityCapabilities");
cacheNames.put("Entity Capabilities Users", "entityCapabilitiesUsers");
cacheNames.put("Entity Capabilities ver Attributes", "entityCapabilitiesVers");
cacheProps.put("cache.fileTransfer.size", 128 * 1024l);
cacheProps.put("cache.fileTransfer.maxLifetime", 1000 * 60 * 10l);
......@@ -141,9 +143,12 @@ public class DefaultLocalCacheStrategy implements CacheFactoryStrategy {
cacheProps.put("cache.serversConfigurations.maxLifetime", JiveConstants.MINUTE * 30);
cacheProps.put("cache.entityCapabilities.size", -1l);
cacheProps.put("cache.entityCapabilities.maxLifetime", JiveConstants.DAY * 2);
cacheProps.put("cache.entityCapabilitiesUsers.size", -1l);
cacheProps.put("cache.entityCapabilitiesUsers.maxLifetime", JiveConstants.DAY * 2);
cacheProps.put("cache.entityCapabilitiesVers.size", -1l);
cacheProps.put("cache.entityCapabilitiesVers.maxLifetime", JiveConstants.DAY * 2);
}
public boolean startCluster() {
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment