Kevin ← MongoDB Feedback Engine My feedback 1 result found Add a function for determining if a connection object is still healthy 5 votes Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close Vote We’ll send you updates on this idea 3 comments · Drivers » Node.js · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close An error occurred while saving the comment Kevin commented · Sep 27, 2024 · Edit… · Delete… Just an update that is quite relevant: The mongoose library, which relies on the Node.js driver for MongoDB, has issued a healthcheck fix for version 8.7.x as described here in this pull request: https://github.com/Automattic/mongoose/pull/14812 This will definitely help the stale connection issue above, but we will have to see if that resolves all of the issues experienced. Save Submitting... Kevin shared this idea · Jun 18, 2024
Just an update that is quite relevant:
The mongoose library, which relies on the Node.js driver for MongoDB, has issued a healthcheck fix for version 8.7.x as described here in this pull request:
https://github.com/Automattic/mongoose/pull/14812
This will definitely help the stale connection issue above, but we will have to see if that resolves all of the issues experienced.