Skip to content

Commit 31d5a3f

Browse files
committedOct 3, 2023
fix: config options fixes as per mongodb upgrade
1 parent 763a9be commit 31d5a3f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed
 

‎src/config.ts

-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ export const config = {
3333
// http://mongodb.github.io/node-mongodb-native/3.1/api/MongoClient.html
3434
options: {
3535
connectTimeoutMS: 15000,
36-
keepAlive: true,
3736
noDelay: true,
38-
useNewUrlParser: true,
3937
},
4038
unwantedKeys: {
4139
asset: {

‎typings/config.d.ts

-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ export declare const config: {
1313
dbName: string;
1414
options: {
1515
connectTimeoutMS: number;
16-
keepAlive: boolean;
1716
noDelay: boolean;
18-
useNewUrlParser: boolean;
1917
};
2018
unwantedKeys: {
2119
asset: {

0 commit comments

Comments
 (0)
Please sign in to comment.