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

fix: share HTTP client between DeploymentClients #87

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

Theodus
Copy link
Member

@Theodus Theodus commented Nov 8, 2023

Ideally, a single reqwest::Client is reused so that they use the same connection pool. This also provides a clearer point to set timeout policies, etc. and removes an unused error case.

Ideally, a single `reqwest::Client` is reused so that they use the same
connection pool. This also provides a clearer point to set timeout
policies, etc. and removes an unused error case.
@Theodus Theodus requested review from Jannis and hopeyen November 8, 2023 14:11
Copy link
Contributor

github-actions bot commented Nov 8, 2023

Pull Request Test Coverage Report for Build 6799421811

  • 30 of 68 (44.12%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.04%) to 50.618%

Changes Missing Coverage Covered Lines Changed/Added Lines %
service/src/main.rs 0 38 0.0%
Totals Coverage Status
Change from base Build 6799172155: -0.04%
Covered Lines: 1392
Relevant Lines: 2750

💛 - Coveralls

Copy link
Collaborator

@hopeyen hopeyen left a comment

Choose a reason for hiding this comment

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

good point!

@Theodus Theodus merged commit b595cda into main Nov 8, 2023
5 checks passed
@Theodus Theodus deleted the theodus/integration-testing branch November 8, 2023 16:36
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