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

[client] Add more client options #97

Merged
merged 2 commits into from
Oct 8, 2024
Merged

Conversation

gregnazario
Copy link
Contributor

Description

In my testing, I was unable to easily set the http client configuration without a lot of manual code. This gets rid of it, and leaves room for future expansion of configuration of a client.

Additionally, per #94 it adds an interface for each of the clients, for mocking purposes.

Test Plan

Related Links

Resolves #94

This is important, as by default the HTTP client doesn't provide
a connection pool limit.  So, a really high concurrency can cause
issues if not overridden.
Copy link

@GhostWalker562 GhostWalker562 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@gregnazario gregnazario merged commit 27ddda2 into main Oct 8, 2024
1 check passed
@gregnazario gregnazario deleted the add-more-client-options branch October 8, 2024 18:11
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.

[Feature Request] Export clients as a interface
2 participants