-
Notifications
You must be signed in to change notification settings - Fork 240
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
api后端接口,时快时慢 #89
Labels
enhancement
New feature or request
Comments
跟踪了下,应该是这段代码导致的 naftis/src/api/service/kube.go Lines 328 to 364 in 9d4556f
这里加了锁,在读的时候必须等sync结束才能响应。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
装了一下naftis,首先显示是总共36个服务,总pod 39
在刷新一下页面 的接口
/api/services
/api/diagnose
/api/tasktmpls
发现有时候会有10s的请求是从,而有时候就是ms内
The text was updated successfully, but these errors were encountered: