fix issues with new master-slave tests

This commit is contained in:
Kevin Jahns
2017-06-30 15:18:07 -07:00
parent bbf5e39408
commit 66de422749
3 changed files with 56 additions and 102 deletions

View File

@@ -124,7 +124,7 @@ export default function extendDatabase (Y /* :any */) {
startGarbageCollector () {
this.gc = this.dbOpts.gc
if (this.gc) {
this.gcTimeout = !this.dbOpts.gcTimeout ? 50000 : this.dbOpts.gcTimeout
this.gcTimeout = !this.dbOpts.gcTimeout ? 100000 : this.dbOpts.gcTimeout
} else {
this.gcTimeout = -1
}