@monti-apm/mongo-sharded-cluster
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -114,3 +114,5 @@ var async = require('async'); | ||
var mongoUrl = process.env[key]; | ||
MongoClient.connect(mongoUrl, function(err, conn) { | ||
MongoClient.connect(mongoUrl, { | ||
useUnifiedTopology: true | ||
}, function(err, conn) { | ||
if(conn) { | ||
@@ -117,0 +119,0 @@ const db = conn.db(); |
{ | ||
"name": "@monti-apm/mongo-sharded-cluster", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Shard MongoDB in the app layer and build a MongoDB cluster", | ||
@@ -26,3 +26,3 @@ "main": "lib/index.js", | ||
"async": "1.4.x", | ||
"mongodb": "^3.5.8", | ||
"mongodb": "^3.6.3", | ||
"underscore": "1.8.x" | ||
@@ -29,0 +29,0 @@ }, |
10041
237
Updatedmongodb@^3.6.3