From eb73bfb127ab06b0907e11e7a345b034cd28f976 Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Fri, 9 May 2014 15:22:11 +0200 Subject: [PATCH] make some collections smaller --- js/server/version-check.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/js/server/version-check.js b/js/server/version-check.js index 896b0f8400..c4e7b16d72 100755 --- a/js/server/version-check.js +++ b/js/server/version-check.js @@ -341,7 +341,10 @@ // set up the collection _graphs addTask("setupGraphs", "setup _graphs collection", function () { - return createSystemCollection("_graphs", { waitForSync : true }); + return createSystemCollection("_graphs", { + waitForSync : true, + journalSize: 1024 * 1024 + }); }); //////////////////////////////////////////////////////////////////////////////// @@ -413,7 +416,9 @@ // create the _modules collection addTask("createModules", "setup _modules collection", function () { - return createSystemCollection("_modules"); + return createSystemCollection("_modules", { + journalSize: 1024 * 1024 + }); }); //////////////////////////////////////////////////////////////////////////////// @@ -423,7 +428,9 @@ // create the _routing collection addTask("createRouting", "setup _routing collection", function () { // needs to be big enough for assets - return createSystemCollection("_routing", { journalSize: 32 * 1024 * 1024 }); + return createSystemCollection("_routing", { + journalSize: 32 * 1024 * 1024 + }); }); ////////////////////////////////////////////////////////////////////////////////