There was an error while loading. Please reload this page.
1 parent fe32423 commit 1988a67Copy full SHA for 1988a67
1 file changed
lib/databases/mongodb.js
@@ -96,6 +96,7 @@ function Mongo(options) {
96
if (isNew) {
97
defaultOpt.autoReconnect = false;
98
defaultOpt.useNewUrlParser = true;
99
+ defaultOpt.useUnifiedTopology = true;
100
_.defaults(options.options, defaultOpt);
101
} else {
102
defaultOpt.auto_reconnect = false;
0 commit comments