You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2017/02/03 16:25:01 UTC
activemq-artemis git commit: ARTEMIS-935 sync option on NIO
Repository: activemq-artemis
Updated Branches:
refs/heads/master 03a999e39 -> 1ac635499
ARTEMIS-935 sync option on NIO
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/1ac63549
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/1ac63549
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/1ac63549
Branch: refs/heads/master
Commit: 1ac63549901f9991b9319e950becb86dce8ea358
Parents: 03a999e
Author: Clebert Suconic <cl...@apache.org>
Authored: Fri Feb 3 11:19:55 2017 -0500
Committer: Clebert Suconic <cl...@apache.org>
Committed: Fri Feb 3 11:19:55 2017 -0500
----------------------------------------------------------------------
.../apache/activemq/artemis/cli/commands/util/SyncCalculation.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/1ac63549/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/util/SyncCalculation.java
----------------------------------------------------------------------
diff --git a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/util/SyncCalculation.java b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/util/SyncCalculation.java
index 6563278..a5e38d7 100644
--- a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/util/SyncCalculation.java
+++ b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/util/SyncCalculation.java
@@ -180,7 +180,7 @@ public class SyncCalculation {
switch (journalType) {
case NIO:
- factory = new NIOSequentialFileFactory(datafolder, 1);
+ factory = new NIOSequentialFileFactory(datafolder, 1).setDatasync(datasync);
factory.start();
return factory;
case ASYNCIO: