-
Notifications
You must be signed in to change notification settings - Fork 201
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
Conversation
wangyu096
commented
Jul 19, 2023
•
edited
Loading
edited
- 添加耗时日志
- 修改 job-execute feign client read timeout
if (watch.isRunning()) { | ||
watch.stop(); | ||
} | ||
if (watch.getTotalTimeMillis() > 1000) { |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
位置错了,应该是在job-execute的configmap里面,另外,其他几个上层微服务里面也可以加一下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2个问题需要处理