ARTEMIS-935 sync option on NIO
This commit is contained in:
parent
03a999e39d
commit
1ac6354990
|
@ -180,7 +180,7 @@ public class SyncCalculation {
|
||||||
switch (journalType) {
|
switch (journalType) {
|
||||||
|
|
||||||
case NIO:
|
case NIO:
|
||||||
factory = new NIOSequentialFileFactory(datafolder, 1);
|
factory = new NIOSequentialFileFactory(datafolder, 1).setDatasync(datasync);
|
||||||
factory.start();
|
factory.start();
|
||||||
return factory;
|
return factory;
|
||||||
case ASYNCIO:
|
case ASYNCIO:
|
||||||
|
|
Loading…
Reference in New Issue