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

⚡ Change HTTP Client #87

Merged
merged 6 commits into from
Mar 8, 2021
Merged

⚡ Change HTTP Client #87

merged 6 commits into from
Mar 8, 2021

Conversation

Templum
Copy link
Owner

@Templum Templum commented Mar 8, 2021

This change replaces the standard http-client with the fasthttp client. It is slightly faster then the standard client and also has a smaller allocation(s) food-print.

This is also addressing TODO's left in the code.

@codecov
Copy link

codecov bot commented Mar 8, 2021

Codecov Report

Merging #87 (437da20) into develop (ecc14b5) will increase coverage by 0.09%.
The diff coverage is 98.82%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #87      +/-   ##
===========================================
+ Coverage    96.90%   97.00%   +0.09%     
===========================================
  Files           10       10              
  Lines          388      400      +12     
===========================================
+ Hits           376      388      +12     
  Misses           7        7              
  Partials         5        5              
Flag Coverage Δ
unit-tests 97.00% <98.82%> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/openfaas/client.go 92.30% <98.82%> (+0.78%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ecc14b5...7908f76. Read the comment docs.

@Templum Templum merged commit ae0b440 into develop Mar 8, 2021
@Templum Templum deleted the feature/http-client-swap branch March 8, 2021 20:32
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.

1 participant