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
The param timeout for blade cmd #17
Comments
想要表达的大概是: |
Thank you for advice, I will think about it 👍 |
'timeout' 参数不仅仅应用在一些极端的场景,还应该是每次故障实验的一个必选操作,甚至就算用户不配置,应该也有一个默认的值(比如:60s),类似sql中的limit。应对上层的演练平台异常、人为疏忽等情况。 |
You are right, so we lift it to the cmd of blade. Early it was mentioned for cpu sub cmd. |
I agree. Can I assign this issue to you? @Cenyol |
Ok, you can. ^_^ |
implemented https://github.com/mingcheng/chaosblade.go/commit/23ad7ae1194501779cedb0c3b9417df12805247f , I will make new PR after #16 is merged. |
@Cenyol @mingcheng The feature has been implemented in #16 PR which has been merged, I will release it in this week. Thank you all :-) |
Because of the quality of blade, sometime it may lead to us can't interact with target system. For example, we inject network fault with 80% loss rate, and cause we can't connect the server by ssh never. May be the full load for CPU also cause the system couldn't response us at all.
So, we need guardian, and it could terminate something and recover state after we loss control. I think the param 'timeout' may be appropriate our requirement.
blade cpu --timeout 60s ...
blade network --timeout 30s ...
and so on
The text was updated successfully, but these errors were encountered: