Skip to content

Commit

Permalink
Added some logging to retry handler ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
csrster committed May 31, 2021
1 parent 4673e7b commit b575541
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public HttpsClientBuilder(String privateKeyFile) {
class AggressiveHttpRequestRetryHandler extends DefaultHttpRequestRetryHandler {
public AggressiveHttpRequestRetryHandler() {
super(3, true, Arrays.asList(UnknownHostException.class));
log.info("Creating Aggressive retry handler for https queries.");
}

@Override public boolean retryRequest(IOException exception, int executionCount, HttpContext context) {
Expand Down

0 comments on commit b575541

Please sign in to comment.