summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2011-02-24 18:52:17 +0000
committerBrian S. O'Neill <bronee@gmail.com>2011-02-24 18:52:17 +0000
commit766042105821ea01bcc745ea7d6347aaeea0a5b8 (patch)
tree7c87cf3c4f61b2d81d681777e563fedf20e5d6ea /src/main
parent589987f94d7e6e656f3d4e21018bf42015db4e98 (diff)
Default to 100 for query cache.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/amazon/carbonado/qe/QueryExecutorCache.java4
1 files changed, 2 insertions, 2 deletions
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<S extends Storable> 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) {