mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-11-30 02:57:37 +08:00
[SPI] Remove http retry logic
This commit is contained in:
parent
136c445708
commit
1c09f32700
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user