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

#1084 Implement disconnect for mongodb adapter to support a graceful shutdown. #1085

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

tatejones
Copy link
Contributor

Please check if the PR fulfills these requirements

  • Followed the Contributing guidelines.
  • Tests for the changes have been added (for bug fixes/features) with 100% code coverage.
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Fix. The Mongodb adapter failed to shutdown gracefully leaving the nodejs process in a hung state (open sockets). The disconnect method was implement to allow the client api to call it in a "finally" clause or dispose method.

@jaredwray jaredwray merged commit a5184a6 into jaredwray:main Jul 16, 2024
5 checks passed
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.

2 participants