From df8ae3821af15e9193f94833865732a0d8231745 Mon Sep 17 00:00:00 2001 From: Bosanac Dejan Date: Wed, 9 Sep 2009 13:19:43 +0000 Subject: [PATCH] https://issues.apache.org/activemq/browse/AMQ-1894 - revert enableJournalDiskSyncs to true and specifically set it in throughput config git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812943 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/store/kahadb/MessageDatabase.java | 2 +- assembly/src/sample-conf/activemq-throughput.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 --> - +