fix(core): update

This commit is contained in:
Philipp Kunz 2020-09-09 02:21:15 +00:00
parent f6d6545ff5
commit f74020ba96

View File

@ -40,6 +40,8 @@ export class SmartdataDb {
this.mongoDbClient = await plugins.mongodb.MongoClient.connect(finalConnectionUrl, {
useNewUrlParser: true,
useUnifiedTopology: true,
maxPoolSize: 100,
maxIdleTimeMS: 10
});
this.mongoDb = this.mongoDbClient.db(this.smartdataOptions.mongoDbName);
this.status = 'connected';