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

grpc client 会卡住 #16

Open
JellyZero opened this issue Aug 31, 2022 · 3 comments
Open

grpc client 会卡住 #16

JellyZero opened this issue Aug 31, 2022 · 3 comments

Comments

@JellyZero
Copy link

No description provided.

@smallnest
Copy link
Member

需要详细信息

@JellyZero
Copy link
Author

就脚本启动就会卡住,请求数超过 10000 就会,100 就没事

@wsjcko
Copy link

wsjcko commented Sep 19, 2022

总的次数 wg.Add(n * m) , n个goroutine ,每个gouroutine 执行任务次数 for j := 0; j < m; j++ { wg.Done() } ,而不是每个goroutine 任务结束后 wg.Done()

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

No branches or pull requests

3 participants