Tracked down a bug in a call to MongoDB that failed to ever return. It was trying to remove an index and the call never finished.

This commit is contained in:
2022-08-15 07:01:20 -07:00
parent cf51200393
commit 565ab41f7e
16 changed files with 88 additions and 13 deletions

View File

@@ -1,6 +1,8 @@
import {MongoInternals} from 'meteor/mongo';
import {Meteor} from 'meteor/meteor';
console.log("Setting up data collection database connection...");
let uri = process.env.MONGO_URL2; //"mongodb://localhost:27017/avusd_data_collection";
//uri = "mongodb://localhost:27017/avusd_data_collection";
//console.log(uri);
@@ -11,3 +13,5 @@ Meteor.Records = collection;
// let results = collection.find({deviceId: "1e3e99ef-adf4-4aa2-8784-205bc60f0ce3"}).fetch();
// console.log(results);
console.log("Database connection setup.")