[SPI] Remove http retry logic

This commit is contained in:
qianmoQ 2023-04-14 13:57:02 +08:00
parent 136c445708
commit 1c09f32700

View File

@ -38,10 +38,7 @@ public class HttpClient
.readTimeout(SOCKET_TIME_OUT, TimeUnit.MILLISECONDS)
.writeTimeout(SOCKET_TIME_OUT, TimeUnit.MILLISECONDS)
.connectionPool(connectionPool)
.retryOnConnectionFailure(configure.getAutoConnected())
.connectTimeout(CONNECTION_TIME_OUT, TimeUnit.MILLISECONDS)
.addInterceptor(new HttpRetryInterceptor(configure))
.addNetworkInterceptor(new HttpRetryInterceptor(configure))
.build();
}