diff --git a/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java b/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java index dd1307936c..35b296cc88 100644 --- a/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java +++ b/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java @@ -138,7 +138,7 @@ public class MessageDatabase { protected boolean deleteAllMessages; protected File directory; protected Thread checkpointThread; - protected boolean enableJournalDiskSyncs=false; + protected boolean enableJournalDiskSyncs=true; long checkpointInterval = 5*1000; long cleanupInterval = 30*1000; int journalMaxFileLength = Journal.DEFAULT_MAX_FILE_LENGTH; diff --git a/assembly/src/sample-conf/activemq-throughput.xml b/assembly/src/sample-conf/activemq-throughput.xml index 62d0f81216..0bb5fd3f00 100644 --- a/assembly/src/sample-conf/activemq-throughput.xml +++ b/assembly/src/sample-conf/activemq-throughput.xml @@ -57,7 +57,7 @@ http://activemq.apache.org/kahadb.html --> - +