Skip to content
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

ZMS-120 #607

Merged
merged 4 commits into from Jan 26, 2024
Merged

ZMS-120 #607

merged 4 commits into from Jan 26, 2024

Conversation

NickOvt
Copy link
Contributor

@NickOvt NickOvt commented Jan 22, 2024

  • Added /health API endpoint to check the status/health of the WIldduck API

@NickOvt NickOvt requested a review from andris9 January 22, 2024 08:09
@NickOvt NickOvt self-assigned this Jan 22, 2024
lib/api/health.js Outdated Show resolved Hide resolved
@NickOvt
Copy link
Contributor Author

NickOvt commented Jan 25, 2024

Changed the db.database.s.client.topology.isConnected() check to a ping, because even if wildduck was running and then MongoDb got disconnected (manually stopped the process for testing) the isConnected() function still returned true.

@NickOvt NickOvt requested a review from andris9 January 25, 2024 08:23
@NickOvt NickOvt merged commit 84ab0c0 into master Jan 26, 2024
7 checks passed
@NickOvt NickOvt deleted the ZMS-120 branch January 26, 2024 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants