From 42685e7d98ec02bb92c73e3cfaa0413dacde25af Mon Sep 17 00:00:00 2001 From: wangyu096 Date: Wed, 19 Jul 2023 12:25:08 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20job-manage=20=E5=BE=AE=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E6=89=B9=E9=87=8F=E8=8E=B7=E5=8F=96=E4=B8=BB=E6=9C=BA?= =?UTF-8?q?=20API=E8=B0=83=E7=94=A8=E8=B6=85=E6=97=B6=20#2242?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/service/host/impl/HostServiceImpl.java | 3 ++- .../bk-job/templates/job-manage/configmap.yaml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/backend/job-manage/service-job-manage/src/main/java/com/tencent/bk/job/manage/service/host/impl/HostServiceImpl.java b/src/backend/job-manage/service-job-manage/src/main/java/com/tencent/bk/job/manage/service/host/impl/HostServiceImpl.java index 91eb14be49..8fd9fbf827 100644 --- a/src/backend/job-manage/service-job-manage/src/main/java/com/tencent/bk/job/manage/service/host/impl/HostServiceImpl.java +++ b/src/backend/job-manage/service-job-manage/src/main/java/com/tencent/bk/job/manage/service/host/impl/HostServiceImpl.java @@ -1370,7 +1370,8 @@ public ServiceListAppHostResultDTO listAppHostsPreferCache(Long appId, if (application.isAllBizSet()) { // 如果是全业务,所以主机都是合法的 result.setNotExistHosts(notExistHosts); - result.setValidHosts(existHosts.stream().map(ApplicationHostDTO::toHostDTO).collect(Collectors.toList())); + result.setValidHosts(existHosts.stream().map(ApplicationHostDTO::toHostDTO) + .collect(Collectors.toList())); result.setNotInAppHosts(Collections.emptyList()); return result; } diff --git a/support-files/kubernetes/charts/bk-job/templates/job-manage/configmap.yaml b/support-files/kubernetes/charts/bk-job/templates/job-manage/configmap.yaml index 7e9dd457a2..4f245d5271 100644 --- a/support-files/kubernetes/charts/bk-job/templates/job-manage/configmap.yaml +++ b/support-files/kubernetes/charts/bk-job/templates/job-manage/configmap.yaml @@ -61,6 +61,18 @@ data: multipart: max-file-size: 5GB max-request-size: 5GB + feign: + client: + config: + default: + connectTimeout: 5000 + readTimeout: 20000 + sync: + connectTimeout: 5000 + readTimeout: 30000 + log: + connectTimeout: 5000 + readTimeout: 30000 bk: doc: root: {{ .Values.bkDocsCenterUrl }}