mirror of https://github.com/apache/activemq.git
pass asyncWrite flag to page file
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741136 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
690b7bcbd1
commit
3c543a0cd0
|
@ -1168,6 +1168,7 @@ public class MessageDatabase {
|
||||||
|
|
||||||
private PageFile createPageFile() {
|
private PageFile createPageFile() {
|
||||||
PageFile pf = new PageFile(directory, "db");
|
PageFile pf = new PageFile(directory, "db");
|
||||||
|
pf.setEnableAsyncWrites(!isSyncWrites());
|
||||||
return pf;
|
return pf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue