activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject activemq-artemis git commit: ARTEMIS-935 sync option on NIO
Date Fri, 03 Feb 2017 16:25:01 GMT
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 <clebertsuconic@apache.org>
Authored: Fri Feb 3 11:19:55 2017 -0500
Committer: Clebert Suconic <clebertsuconic@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:


Mime
View raw message