From 6fb9e911bf39e91362949cf50ec695a7dccf0a1c Mon Sep 17 00:00:00 2001 From: zeus Date: Tue, 24 Nov 2020 17:47:33 +0200 Subject: [PATCH] mongo tail --- swarmlab-app/src/run/app.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 267425a..9a5edd4 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -387,7 +387,8 @@ function onCollection(err, collection) { // db.collection('log', onCollection); //} -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/?replicaSet=rs1" +//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/?replicaSet=rs1" +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/?replicaSet=rs1&?authSource=admin" //var mongolab_uri = "mongodb://:@:,:/?replicaSet="; var mongooptions = { //server: { @@ -395,8 +396,8 @@ var mongooptions = { autoReconnect: true, keepAlive: 1, connectTimeoutMS: 30000, - authSource: admin, socketTimeoutMS: 0 + //authSource: admin, // } //}, /*