ARTEMIS-935 sync option on NIO

This commit is contained in:
Clebert Suconic 2017-02-03 11:19:55 -05:00
parent 03a999e39d
commit 1ac6354990
1 changed files with 1 additions and 1 deletions

View File

@ -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: