-
Notifications
You must be signed in to change notification settings - Fork 72k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mongo driver update & less frequent database polls #8026
Conversation
…ded event to process local data updates even if the call is debounced
* Removes old openaps-storage feature
Nice upgrade to mongodb drivers! |
Testing this, and it does something weird in some of my test environments. On some environments it can't bootstrap the connection correctly, but it's not clear if it may be a server misconfiguration issue. |
Looking forward to seeing this get merged! I explored using FerretDB (An alternative to Mongodb that is backed by postgres), which requires using updated mongo driver compatible with Mongodb 6+ to work, as a replacement for Mongodb and early testing looked promising but I didn't have the bandwidth for diving in to fix all the little incompatiblies needed so I had to shelve the idea. If/when this gets merged, definitely going to be revisiting that project and see if it's truly a viable option to replace Mongodb! |
Happy to spin up some test instances and see if I can replicate the connection issues. |
Howdy @RickyGrassmuck, this is on track to be merged. I've been ultra-conservative testing scenarios on databases that run in replica set and that have been migrated or have mixed upgrade/migration status or even broken cluster configurations. |
Finally catching up on my backlog. Additional testing, and I like this. If the startup boot sequence will more predictably take 15 seconds instead of 5 seconds it might make a nice first-time contribution for someone. |
Given node 18 and 20, allow running on any LTS version of node. We can block out bad versions if needed.
Use npm install under node 14 generates different lock file.
This patch adjusts the user feedback while the server is initializing to communicate that Nightscout startup sequence should take closer to 15 second than 5 seconds.
Record output of npm instlal using oldest supported version.
Record changes from upgrading nightscout-connect to at least the latest release, 0.0.12.
Revert "Merge pull request #8026 from nightscout/less_frequent_db_upd…
Looking at bringing this back in... |
Maybe fixes #8024