From 799319882ced1176a39615d5fe41a93a7f9ed32a Mon Sep 17 00:00:00 2001 From: Stefan More Date: Tue, 27 Nov 2018 13:32:52 +0100 Subject: [PATCH] migrateDirtyDBtoRealDB: disabled write buffer, #2214 --- bin/migrateDirtyDBtoRealDB.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/migrateDirtyDBtoRealDB.js b/bin/migrateDirtyDBtoRealDB.js index cf5590a10..086d92b7b 100644 --- a/bin/migrateDirtyDBtoRealDB.js +++ b/bin/migrateDirtyDBtoRealDB.js @@ -16,6 +16,7 @@ require("ep_etherpad-lite/node_modules/npm").load({}, function(er,npm) { var log4js = require("../src/node_modules/log4js"); var dbWrapperSettings = { "cache": "0", // The cache slows things down when you're mostly writing. + "writeInterval": 0 // Write directly to the database, don't buffer }; var db = new ueberDB.database(settings.dbType, settings.dbSettings, dbWrapperSettings, log4js.getLogger("ueberDB"));