mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
fix(资源池): 修复资源池容量显示不正确问题
This commit is contained in:
parent
1afb421f05
commit
a53c2b75bf
@ -312,7 +312,7 @@ public class TestResourcePoolService {
|
||||
int occupiedConcurrentNumber = 0;
|
||||
for (TestResourceNodeDTO testResourceNodeDTO : testResourceDTO.getNodesList()) {
|
||||
ResourcePoolNodeMetric nodeMetric = getNodeMetric(testResourceNodeDTO.getIp(), testResourceNodeDTO.getPort());
|
||||
concurrentNumber = concurrentNumber + nodeMetric.getConcurrentNumber();
|
||||
concurrentNumber = concurrentNumber + testResourceNodeDTO.getConcurrentNumber();
|
||||
occupiedConcurrentNumber = occupiedConcurrentNumber + nodeMetric.getOccupiedConcurrentNumber();
|
||||
}
|
||||
resourcePoolNodeMetric.setConcurrentNumber(concurrentNumber);
|
||||
|
Loading…
Reference in New Issue
Block a user