mirror of https://github.com/apache/activemq.git
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:
parent
9cc98732e6
commit
df8ae3821a
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
||||
<!--
|
||||
|
|
Loading…
Reference in New Issue