diff --git a/src/Database.js b/src/Database.js index f49d2bc20436262c25981d6f5136eed65e2b41b7..8246e3fc90fe3cb76c4386c48854d85bb11cc1ae 100644 --- a/src/Database.js +++ b/src/Database.js @@ -75,7 +75,7 @@ module.exports = function (Y /* :any */) { } this.gc1 = [] // first stage this.gc2 = [] // second stage -> after that, remove the op - this.gcTimeout = !opts.gcTimeout ? 50000 : opts.gcTimeoutÅ› + this.gcTimeout = !opts.gcTimeout ? 50000 : opts.gcTimeouts function garbageCollect () { return os.whenTransactionsFinished().then(function () { if (os.gc1.length > 0 || os.gc2.length > 0) {