From 1228ad13f9c2ec4d9fb0da0166a39b4f97b579df Mon Sep 17 00:00:00 2001 From: zeus Date: Tue, 24 Nov 2020 19:34:11 +0200 Subject: [PATCH] mongo tail --- swarmlab-app/src/run/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index a91a6a7..c64fc09 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -397,7 +397,10 @@ function onCollection(err, collection) { var mongourl = "mongodb://playgrounduser:efvvnuioervefSDFSGYGHRDFVsdfergvssppiiedifhwincvinviw_dbfjbsifbsdkjfswuunscfudfgbbfvibqefwrvnine@ondemand_playground_mongo1:27017,ondemand_playground_mongo2:27017,ondemand_playground_mongo3:27017,ondemand_playground_mongo4:27017,ondemand_playground_mongo5:27017,ondemand_playground_mongo6:27017,ondemand_playground_mongo7:27017/fluent?replicaSet=rs1" -const OPTS = { useNewUrlParser: true }; +const OPTS = { + useNewUrlParser: true, + useUnifiedTopology: true +}; //var mongolab_uri = "mongodb://:@:,:/?replicaSet="; var mongooptions = { autoReconnect: true,