Created
August 2, 2022 13:03
-
-
Save parthmistry/69f0e6bc4fc809081bc77c72029653f5 to your computer and use it in GitHub Desktop.
Customize Apache HTTP Client
This file contains hidden or 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
var httpClient = HttpClients.custom() | |
.setMaxConnPerRoute(15) | |
.setMaxConnTotal(100) | |
.build(); | |
var httpAsyncClient = HttpAsyncClients.custom() | |
.setMaxConnPerRoute(15) | |
.setMaxConnTotal(100) | |
.build(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment