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

Reuse http.Client. #3

Closed
cubismic opened this issue Jul 15, 2019 · 0 comments · Fixed by #4
Closed

Reuse http.Client. #3

cubismic opened this issue Jul 15, 2019 · 0 comments · Fixed by #4
Assignees

Comments

@cubismic
Copy link
Member

Currently http.Client is created every RPC execution.
But golang recommends reusing the http.Client
https://golang.org/pkg/net/http/#Client

@cubismic cubismic self-assigned this Jul 15, 2019
This was referenced Jul 15, 2019
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 a pull request may close this issue.

1 participant