Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: job-manage 微服务批量获取主机 API调用超时 #2242 #2244

Merged
merged 3 commits into from
Jul 19, 2023

Conversation

wangyu096
Copy link
Collaborator

@wangyu096 wangyu096 commented Jul 19, 2023

  1. 添加耗时日志
  2. 修改 job-execute feign client read timeout

if (watch.isRunning()) {
watch.stop();
}
if (watch.getTotalTimeMillis() > 1000) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议3s,1s日志太多了

config:
default:
connectTimeout: 5000
readTimeout: 20000
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

位置错了,应该是在job-execute的configmap里面,另外,其他几个上层微服务里面也可以加一下

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix

Copy link
Collaborator

@jsonwan jsonwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2个问题需要处理

@jsonwan jsonwan merged commit ea370a6 into TencentBlueKing:master Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants