|
|
@@ -126,7 +126,7 @@ public class HttpClientSpringFactory {
|
|
|
public boolean retryRequest(IOException exception,
|
|
|
int executionCount, HttpContext context) {
|
|
|
logger.info("http request occurs error:{}", exception.getMessage());
|
|
|
- if (executionCount >= 3000) {// 如果已经重试了3000次,就放弃
|
|
|
+ if (executionCount >= 20000) {// 如果已经重试了3000次,就放弃
|
|
|
return false;
|
|
|
}
|
|
|
if (exception instanceof SSLHandshakeException) {// 不要重试SSL握手异常
|