Skip to content

Commit

Permalink
perf: job-manage 微服务批量获取主机 API调用超时 TencentBlueKing#2242
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyu096 committed Jul 19, 2023
1 parent 5831598 commit 42685e7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 42685e7

Please sign in to comment.