Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-07-08 10:31:39 +08:00
commit 9fbe1a69e9
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
* 公共http客户端
*/
private static final OkHttpClient client = new OkHttpClient().newBuilder()
.connectTimeout(100, TimeUnit.MICROSECONDS)
.connectTimeout(1, TimeUnit.MINUTES)
.readTimeout(1, TimeUnit.MINUTES)
.connectionPool(new ConnectionPool(cpuNUm * 2, 2, TimeUnit.MINUTES))
.retryOnConnectionFailure(false)