fix(core): update

This commit is contained in:
2022-05-18 17:35:16 +02:00
parent 92b0e2a3ce
commit 0a3be3e7f4
2 changed files with 4 additions and 2 deletions

View File

@@ -18,7 +18,9 @@ export class SmartMongo {
}
public async start(countArg: number = 1) {
this.mongoReplicaSet = await plugins.mongoPlugin.MongoMemoryReplSet.create({ replSet: { count: countArg } });
this.mongoReplicaSet = await plugins.mongoPlugin.MongoMemoryReplSet.create({ replSet: { count: countArg }, instanceOpts: [{
storageEngine: 'wiredTiger'
}]});
this._readyDeferred.resolve();
console.log(`mongoReplicaSet with ${countArg} replicas started.`);
console.log(`@pushrocks/smartmongo version ${commitinfo.version}`);