From 766042105821ea01bcc745ea7d6347aaeea0a5b8 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Thu, 24 Feb 2011 18:52:17 +0000 Subject: Default to 100 for query cache. --- src/main/java/com/amazon/carbonado/qe/QueryExecutorCache.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/com/amazon/carbonado/qe/QueryExecutorCache.java b/src/main/java/com/amazon/carbonado/qe/QueryExecutorCache.java index 788ebd0..8bfb116 100644 --- a/src/main/java/com/amazon/carbonado/qe/QueryExecutorCache.java +++ b/src/main/java/com/amazon/carbonado/qe/QueryExecutorCache.java @@ -32,7 +32,7 @@ import com.amazon.carbonado.util.SoftValuedCache; /** * QueryExecutors should be cached since expensive analysis is often required to build - * them. By default, a minimum of 1000 query executors can be cached per Storable type. + * them. By default, a minimum of 100 query executors can be cached per Storable type. * The minimum can be changed with the * "com.amazon.carbonado.qe.QueryExecutorCache.minCapacity" system property. * @@ -42,7 +42,7 @@ public class QueryExecutorCache implements QueryExecutorFact final static int cMinCapacity; static { - int minCapacity = 1000; + int minCapacity = 100; String prop = System.getProperty(QueryExecutorCache.class.getName().concat(".minCapacity")); if (prop != null) { -- cgit v1.2.3