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

add concurrency control in "ControlWorkload" #549

Merged
merged 1 commit into from
Feb 9, 2022

Conversation

DuodenumL
Copy link
Contributor

直接用wait group太暴力了,比如说请求停止1000个workload,就会同时去加1000个锁。

怕给ETCD打蒙了,还是加一个并发控制比较好。

@CMGS CMGS merged commit 0ad2595 into projecteru2:master Feb 9, 2022
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.

3 participants