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
This commit is contained in:
Bosanac Dejan 2009-09-09 13:19:43 +00:00
parent 9cc98732e6
commit df8ae3821a
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -57,7 +57,7 @@
http://activemq.apache.org/kahadb.html
-->
<persistenceAdapter>
<kahaDB directory="${activemq.base}/data/kahadb" indexWriteBatchSize="10000" />
<kahaDB directory="${activemq.base}/data/kahadb" enableJournalDiskSyncs="false" indexWriteBatchSize="10000" />
</persistenceAdapter>
<!--