Browse Source

Merge branch 'wyp/1006-gpu' of Server/long-article-recommend into master

wangyunpeng 9 tháng trước cách đây
mục cha
commit
e409a7b903

+ 2 - 4
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/remote/NLPRemoteService.java

@@ -104,10 +104,8 @@ public class NLPRemoteService {
                 FeishuMessageSender.sendWebHookMessage("07026a9f-43f5-448b-ba40-a8d71bd6e634", "4090计算评分失败\n"
                         + "url: " + url +"\n"
                         + "账号名称: " + accountName);
-                if (StringUtils.hasText(e.getMessage()) && e.getMessage().contains("Connection")) {
-                    url = backUrl;
-                    client = HttpPoolFactory.thirtySecondPool();
-                }
+                url = backUrl;
+                client = HttpPoolFactory.thirtySecondPool();
                 log.error("score error", e);
             }
         }