activemq-commits mailing list archives

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


Mime
View raw message