-
Notifications
You must be signed in to change notification settings - Fork 152
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
The disconnect is not implemented for mongodb adapter. #1084
Comments
@tatejones - Hi. That is correct that mongo does not have this feature. Happy to take a pull request on this or I will leave it to see if others want to upvote this with a 👍 |
A pull request has been issued. The MongodbClient needed to be exposed on the KeyvMongoConnect type to allow the disconnect to method to access the close() method. |
…n. (#1085) Co-authored-by: Tate Jones <tate.jones@health.qld.gov.au>
Thanks for the pull request. This has been merged and should be released in the next couple weeks. |
* #1084 Implement disconnect for mongodb adapter for a graceful shutdown. * #1087 Support iterator on MongoDb adatper with GridFS enabled. * Handle namespace not found on MongoDB adapter with GridFS --------- Signed-off-by: tatejones <tate@bluedog.com.au> Co-authored-by: Tate Jones <tate.jones@health.qld.gov.au>
…nabled) (#1089) * #1084 Implement disconnect for mongodb adapter for a graceful shutdown. * #1087 Support iterator on MongoDb adatper with GridFS enabled. * Handle namespace not found on MongoDB adapter with GridFS --------- Signed-off-by: tatejones <tate@bluedog.com.au> Co-authored-by: Tate Jones <tate.jones@health.qld.gov.au> Co-authored-by: Jared Wray <me@jaredwray.com>
Describe the bug
There is no way to close connections for a graceful shutdown of the keyv mongodb adapter.
How To Reproduce (best to provide workable code or tests!)
The text was updated successfully, but these errors were encountered: