Skip to content

Commit

Permalink
Fix cannot connect custom oplog to MongoDB via SSL
Browse files Browse the repository at this point in the history
  • Loading branch information
cuonghuunguyen committed Sep 30, 2021
1 parent 13e0983 commit e126121
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/server/models/_oplogHandle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class CustomOplogHandle {
useUnifiedTopology: true,
useNewUrlParser: true,
poolSize: this.usingChangeStream ? 15 : 1,
...JSON.parse(process.env.MONGO_OPTIONS || ''),
});

await this.client.connect();
Expand Down

0 comments on commit e126121

Please sign in to comment.