From ff7033fa148a1009de856ffec88758ca2108f0fb Mon Sep 17 00:00:00 2001 From: Robert Davies Date: Wed, 19 Mar 2008 21:52:31 +0000 Subject: [PATCH] set default max page size to 100 git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639030 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/broker/region/BaseDestination.java | 2 +- .../org/apache/activemq/broker/region/policy/PolicyEntry.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/broker/region/BaseDestination.java b/activemq-core/src/main/java/org/apache/activemq/broker/region/BaseDestination.java index 17c6872265..011006994a 100755 --- a/activemq-core/src/main/java/org/apache/activemq/broker/region/BaseDestination.java +++ b/activemq-core/src/main/java/org/apache/activemq/broker/region/BaseDestination.java @@ -40,7 +40,7 @@ public abstract class BaseDestination implements Destination { private int maxProducersToAudit=1024; private int maxAuditDepth=2048; private boolean enableAudit=true; - private int maxPageSize=1000; + private int maxPageSize=100; private boolean useCache=true; private int minimumMessageSize=1024; private boolean lazyDispatch=true; diff --git a/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/PolicyEntry.java b/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/PolicyEntry.java index f42810bf40..67f06998ed 100644 --- a/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/PolicyEntry.java +++ b/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/PolicyEntry.java @@ -56,7 +56,7 @@ public class PolicyEntry extends DestinationMapEntry { private boolean enableAudit=true; private boolean producerFlowControl = true; private boolean optimizedDispatch=false; - private int maxPageSize=1000; + private int maxPageSize=100; private boolean useCache=true; private long minimumMessageSize=1024; private boolean useConsumerPriority=true;