提交 5a205b9c 编写于 作者: C Captain.B

fix(性能测试): 修复最大并发数没有按照资源池来限制的bug

上级 cb9bbe26
......@@ -263,6 +263,8 @@ export default {
if (response.data.filter(p => p.id === this.resourcePool).length === 0) {
this.resourcePool = null;
}
this.resourcePoolChange();
})
},
getLoadConfig() {
......@@ -354,7 +356,7 @@ export default {
result[0].resources.forEach(resource => {
threadNumber += JSON.parse(resource.configuration).maxConcurrency;
})
this.maxThreadNumbers = threadNumber;
this.$set(this, 'maxThreadNumbers', threadNumber);
this.threadGroups.forEach(tg => {
if (tg.threadNumber > threadNumber) {
this.$set(tg, "threadNumber", threadNumber);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册