Commit 8da46605 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed property name to find max cache size.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3659 b35dd754-fafc-0310-a699-88a17e54d16e
parent f859b9d3
...@@ -70,7 +70,7 @@ public class CacheManager { ...@@ -70,7 +70,7 @@ public class CacheManager {
long expirationTime) { long expirationTime) {
Cache cache = caches.get(name); Cache cache = caches.get(name);
if (cache == null) { if (cache == null) {
size = JiveGlobals.getIntProperty("cache." + name + ".size", size); size = JiveGlobals.getIntProperty("cache." + propertiesName + ".size", size);
expirationTime = (long) JiveGlobals.getIntProperty( expirationTime = (long) JiveGlobals.getIntProperty(
"cache." + propertiesName + ".expirationTime", (int) expirationTime); "cache." + propertiesName + ".expirationTime", (int) expirationTime);
cache = new Cache(name, size, expirationTime); cache = new Cache(name, size, expirationTime);
......
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