Commit 33d92be7 by shentao

Merge branch 'feature' into 'dev'

2023/09/19 restTemplate-connectTimeout延长至120s

See merge request !389
parents 1262ce68 b3ece850
......@@ -49,7 +49,7 @@ public class CommonConfig {
@Bean
public RestTemplate restTemplate() throws Exception {
final OkHttpClient client = new OkHttpClient().newBuilder()
.connectTimeout(60, TimeUnit.SECONDS)
.connectTimeout(120, TimeUnit.SECONDS)
.readTimeout(30, TimeUnit.SECONDS)
// 忽略SSL证书验证
.sslSocketFactory(createSslSocketFactory(), new SkipX509TrustManager())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment