Repository: activemq-artemis
Updated Branches:
  refs/heads/1.x 6018b2d74 -> 83b00d6a8


ARTEMIS-935 sync option on NIO

(cherry picked from commit 1ac63549901f9991b9319e950becb86dce8ea358)


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/9321ade3
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/9321ade3
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/9321ade3

Branch: refs/heads/1.x
Commit: 9321ade39bf8d51705ca2c4e9ba20bcfc2968799
Parents: 6018b2d
Author: Clebert Suconic <[email protected]>
Authored: Fri Feb 3 11:19:55 2017 -0500
Committer: Clebert Suconic <[email protected]>
Committed: Fri Feb 3 15:22:07 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/9321ade3/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 ae7a8ca..02db655 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
@@ -178,7 +178,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:

Reply via email to