Forráskód Böngészése

Merge branch 'wyp/0606-publishContentCache' of Server/long-article-recommend into master

wangyunpeng 1 hónapja
szülő
commit
bf791ed4be

+ 1 - 0
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/remote/aigc/AIGCWaitingPublishContentService.java

@@ -32,6 +32,7 @@ public class AIGCWaitingPublishContentService {
     @PostConstruct
     public void init() {
         client = new OkHttpClient().newBuilder()
+                .connectionPool(new ConnectionPool(20, 5, TimeUnit.MINUTES))
                 .connectTimeout(5, TimeUnit.MINUTES)
                 .readTimeout(5, TimeUnit.MINUTES)
                 .writeTimeout(5, TimeUnit.MINUTES)