fix(core): update
This commit is contained in:
parent
f6d6545ff5
commit
f74020ba96
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user