mirror of https://gitee.com/bigwinds/arangodb
make some of the system collections smaller
This commit is contained in:
parent
91327e1497
commit
92f3f277f1
|
@ -434,7 +434,9 @@
|
||||||
addTask("createKickstarterConfiguration",
|
addTask("createKickstarterConfiguration",
|
||||||
"setup _cluster_kickstarter_plans collection", function () {
|
"setup _cluster_kickstarter_plans collection", function () {
|
||||||
//TODO add check if this is the main dispatcher
|
//TODO add check if this is the main dispatcher
|
||||||
return createSystemCollection("_cluster_kickstarter_plans");
|
return createSystemCollection("_cluster_kickstarter_plans", {
|
||||||
|
journalSize: 4 * 1024 * 1024
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -557,7 +559,9 @@
|
||||||
|
|
||||||
// set up the collection _aqlfunctions
|
// set up the collection _aqlfunctions
|
||||||
addTask("setupAqlFunctions", "setup _aqlfunctions collection", function () {
|
addTask("setupAqlFunctions", "setup _aqlfunctions collection", function () {
|
||||||
return createSystemCollection("_aqlfunctions");
|
return createSystemCollection("_aqlfunctions", {
|
||||||
|
journalSize: 4 * 1024 * 1024
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -663,7 +667,10 @@
|
||||||
// create the _statistics collection
|
// create the _statistics collection
|
||||||
addTask("createConfiguration", "setup _configuration collection", function () {
|
addTask("createConfiguration", "setup _configuration collection", function () {
|
||||||
var name = "_configuration";
|
var name = "_configuration";
|
||||||
var result = createSystemCollection(name, { waitForSync: true });
|
var result = createSystemCollection(name, {
|
||||||
|
waitForSync: true,
|
||||||
|
journalSize: 1024 * 1024
|
||||||
|
});
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue