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

provide a way to close the http client #137

Merged
merged 1 commit into from
Aug 9, 2023
Merged

provide a way to close the http client #137

merged 1 commit into from
Aug 9, 2023

Conversation

sprsquish
Copy link
Contributor

Ticket(s): BT-3723

Problem

Customers need a way to gracefully close connections to Fauna.

Solution

Provide a close method on the Fauna client and underlying HTTP clients. If the Fauna Client is using the global http client, the global client is closed and set to None to prevent use of a closed client.

Result

Clients can be closed.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sprsquish sprsquish merged commit bc266d9 into main Aug 9, 2023
@sprsquish sprsquish deleted the client-close branch August 9, 2023 15:35
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