mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
migrateDirtyDBtoRealDB: disabled write buffer, #2214
This commit is contained in:
parent
b8fa179622
commit
799319882c
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ require("ep_etherpad-lite/node_modules/npm").load({}, function(er,npm) {
|
||||||
var log4js = require("../src/node_modules/log4js");
|
var log4js = require("../src/node_modules/log4js");
|
||||||
var dbWrapperSettings = {
|
var dbWrapperSettings = {
|
||||||
"cache": "0", // The cache slows things down when you're mostly writing.
|
"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"));
|
var db = new ueberDB.database(settings.dbType, settings.dbSettings, dbWrapperSettings, log4js.getLogger("ueberDB"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue