-
Notifications
You must be signed in to change notification settings - Fork 588
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maintain a single, re-used HTTP client
Instead of creating a new HTTP client for each request, keep a single one for every HTTP request. This will make things faster due to keepalives.
- Loading branch information
Zeyla Hellyer
committed
Aug 4, 2018
1 parent
602c5a7
commit 8c0e5a3
Showing
2 changed files
with
21 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters