Commit a5b24227 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added new caches.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@8608 b35dd754-fafc-0310-a699-88a17e54d16e
parent 26374fd5
......@@ -76,6 +76,8 @@ public class DefaultLocalCacheStrategy implements CacheFactoryStrategy {
cacheNames.put("Secret Keys Cache", "secretKeys");
cacheNames.put("Validated Domains", "validatedDomains");
cacheNames.put("Directed Presences", "directedPresences");
cacheNames.put("Disco Server Features", "serverFeatures");
cacheNames.put("Disco Server Items", "serverItems");
cacheProps.put("cache.fileTransfer.size", 128 * 1024l);
cacheProps.put("cache.fileTransfer.expirationTime", 1000 * 60 * 10l);
......@@ -131,6 +133,10 @@ public class DefaultLocalCacheStrategy implements CacheFactoryStrategy {
cacheProps.put("cache.validatedDomains.expirationTime", -1l);
cacheProps.put("cache.directedPresences.size", -1l);
cacheProps.put("cache.directedPresences.expirationTime", -1l);
cacheProps.put("cache.serverFeatures.size", -1l);
cacheProps.put("cache.serverFeatures.expirationTime", -1l);
cacheProps.put("cache.serverItems.size", -1l);
cacheProps.put("cache.serverItems.expirationTime", -1l);
}
......
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