diff --git a/boot.js b/boot.js index c5c4d82df5..c4674c588b 100644 --- a/boot.js +++ b/boot.js @@ -58,7 +58,7 @@ module.exports = function (cb) { (authMechanism ? '&authMechanism=' + authMechanism : '' ) } - require('mongodb').MongoClient.connect(connectionString, { useNewUrlParser: true }, function (err, client) { + require('mongodb').MongoClient.connect(connectionString, { useNewUrlParser: true, useUnifiedTopology: true}, function (err, client) { if (err) { console.error('WARNING: MongoDB Connection Error: ', err) console.error('WARNING: without MongoDB some features (such as backfilling/simulation) may be disabled.')