ARTEMIS-935 sync option on NIO

(cherry picked from commit 1ac6354990)
This commit is contained in:
Clebert Suconic 2017-02-03 11:19:55 -05:00
parent 6018b2d74c
commit 9321ade39b
1 changed files with 1 additions and 1 deletions

View File

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