Skip to content

Commit 603b28c

Browse files
committed
Removed redundant MongoDB config.
1 parent 4dea4f2 commit 603b28c

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

mongodb-lens.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5930,10 +5930,8 @@ const defaultConfig = {
59305930
connectionOptions: {
59315931
maxPoolSize: 20,
59325932
retryWrites: false,
5933-
useNewUrlParser: true,
59345933
connectTimeoutMS: 30000,
59355934
socketTimeoutMS: 360000,
5936-
useUnifiedTopology: true,
59375935
heartbeatFrequencyMS: 10000,
59385936
serverSelectionTimeoutMS: 30000
59395937
},

mongodb-lens.test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,6 @@ const connectToMongo = async () => {
178178
}
179179

180180
directMongoClient = new MongoClient(mongoUri, {
181-
useNewUrlParser: true,
182-
useUnifiedTopology: true,
183181
retryWrites: true
184182
})
185183

0 commit comments

Comments
 (0)