PROX-265: disable automatic retries (#39)

This commit is contained in:
Anatoly Cherkasov 2019-01-09 15:05:10 +03:00 committed by GitHub
parent 3c809e3575
commit a072493aee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,7 @@ public class RestTemplateConfiguration {
return HttpClients.custom()
.setSSLHostnameVerifier(NoopHostnameVerifier.INSTANCE)
.setSSLContext(sslContext)
.disableAutomaticRetries()
.build();
}