ARTEMIS-935 sync option on NIO
This commit is contained in:
parent
03a999e39d
commit
1ac6354990
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue